We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please complete the information below:
Documentation, Getting Started: Starting a Real Project, Adding Functions or Classes section, code example
The code example is
use namespace HH\Lib\Vec; function square_vec(vec<num> $numbers): vec<num> { return Vec\map($numbers, $number ==> $number * $number); }
It then notes "If you then run hh_client, it will tell you of a mistake... To fix this, change the return type of the function from vec to vec."
However the return type is already num in the example.
num
Please don't change anything below this point.
The text was updated successfully, but these errors were encountered:
Fix mistake in documentation, Getting Started: Starting a Real Projec…
f6cfe57
…t, Adding Functions or Classes hhvm#1351
No branches or pull requests
Please complete the information below:
Where is the problem?
Documentation, Getting Started: Starting a Real Project, Adding Functions or Classes section, code example
What is the problem?
The code example is
It then notes "If you then run hh_client, it will tell you of a mistake... To fix this, change the return type of the function from vec to vec."
However the return type is already
num
in the example.Please don't change anything below this point.
The text was updated successfully, but these errors were encountered: