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
#726 was closed with it being implemented, however it only works with non-named functions and isn't implemented for most cases at all.
https://psalm.dev/r/196d11643d
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php function foo(string $a) : void {} foo(18, 4); call_user_func( 'foo', 18, 4);
Psalm output (using commit c488d40): ERROR: InvalidScalarArgument - 5:5 - Argument 1 of foo expects string, but 18 provided ERROR: TooManyArguments - 5:1 - Too many arguments for foo - expecting 1 but saw 2
Sorry, something went wrong.
Will fix this once #10745 is merged since it's partially similar/dependend
No branches or pull requests
#726 was closed with it being implemented, however it only works with non-named functions and isn't implemented for most cases at all.
https://psalm.dev/r/196d11643d
The text was updated successfully, but these errors were encountered: