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
Array Map requires mixed as a callable argument
https://phpstan.org/r/31bce9df-d1d8-4647-a763-fd6535709243
PHPStan shouldn't detect any issue
No response
The text was updated successfully, but these errors were encountered:
This is because of named arguments. This places is wrong and doesn't account for them: https://github.com/phpstan/phpstan-src/blob/aa4a1232d2fbd6460632cb55d337e18539757281/src/Parser/ArrayMapArgVisitor.php#L17-L28
Sorry, something went wrong.
Please re-open. Its a valid bug
array_map
Successfully merging a pull request may close this issue.
Bug report
Array Map requires mixed as a callable argument
Code snippet that reproduces the problem
https://phpstan.org/r/31bce9df-d1d8-4647-a763-fd6535709243
Expected output
PHPStan shouldn't detect any issue
Did PHPStan help you today? Did it make you happy in any way?
No response
The text was updated successfully, but these errors were encountered: