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
Parent property supports only string. When default value is overriden in child, NULL is correctly reported but null is not.
NULL
null
https://phpstan.org/r/b449bcf7-6aba-4362-bb63-7ce1c6d9d0e2
Both cases should report an error
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Bug report
Parent property supports only string. When default value is overriden in child,
NULL
is correctly reported butnull
is not.Code snippet that reproduces the problem
https://phpstan.org/r/b449bcf7-6aba-4362-bb63-7ce1c6d9d0e2
Expected output
Both cases should report an error
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: