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
Describe the bug If the first function parameter has a type and the second parameter doesn't, the latter is ignored in PHP.
Expected behavior
<?php /** * [test description] * * @param int $foo * [$foo description] * @param [type] $bar * [$bar description] * * @return [type] * [return description] */ function test(int $foo, $bar) { }
Code Snippet
<?php /** * [test description] * * @param int $bar * [$bar description] * * @return [type] * [return description] */ function test(int $foo, $bar) { }
Enviroment (please complete the following information):
The text was updated successfully, but these errors were encountered:
I am betting it is because this function isn't resetting expectParameterType flag after adding the name https://github.com/jeremyvii/vs-docblockr/blob/master/src/languages/php.ts#L221
expectParameterType
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
If the first function parameter has a type and the second parameter doesn't, the latter is ignored in PHP.
Expected behavior
Code Snippet
Enviroment (please complete the following information):
The text was updated successfully, but these errors were encountered: