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
https://psalm.dev/r/198b6a7c3a $_a in this example should not contain null
https://psalm.dev/r/705d3062f6 This edge case could be interesting to check also
PHPStan infers the correct type
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php $_a = null; $b = rand(0,1) ? '' : 'true'; $b === 'true' ? $_a = 'Y' : $_a = 'N'; /** @psalm-trace $_a */
Psalm output (using commit eb973ab): INFO: Trace - 6:24 - $_a: "N"|"Y"|null
<?php $_a = rand(0,1) ? '' : 'true'; $_a === 'true' ? $_a = 'Y' : $_a = 'N'; /** @psalm-trace $_a */
Psalm output (using commit eb973ab): INFO: Trace - 5:24 - $_a: ""|"N"|"Y"|"true"
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
https://psalm.dev/r/198b6a7c3a
$_a in this example should not contain null
https://psalm.dev/r/705d3062f6
This edge case could be interesting to check also
PHPStan infers the correct type
The text was updated successfully, but these errors were encountered: