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
Psalm reports a false MiaxedArgument when using PHP isset.
isset
https://psalm.dev/r/865dff4af9
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php function f (int $a): int { return $a; } if (rand(0, 100) === 23) { $a = 15; } if (isset($a)) { f($a); }
Psalm output (using commit 16b24bd): INFO: MixedArgument - 13:7 - Argument 1 of f cannot be mixed, expecting int
Sorry, something went wrong.
No branches or pull requests
Psalm reports a false MiaxedArgument when using PHP
isset
.https://psalm.dev/r/865dff4af9
The text was updated successfully, but these errors were encountered: