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
PHPStan reports that property of type (TValue of int|string)|null does not accept (TValue of int|string)|null, which is the same type.
(TValue of int|string)|null
https://phpstan.org/r/0391a032-1553-47a8-88ad-c0f528d8dd3d
PHPStan should report no errors.
Thank you for this tool! It helps me do my work better every day.
The text was updated successfully, but these errors were encountered:
Thank you for your kind words! :) This is a duplicate of #5591 so please subscribe to that issue.
Sorry, something went wrong.
@ondrejmirtes Thank you for a quick response! Sorry for opening a duplicate, I couldn't find this issue.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
Bug report
PHPStan reports that property of type
(TValue of int|string)|null
does not accept(TValue of int|string)|null
, which is the same type.Code snippet that reproduces the problem
https://phpstan.org/r/0391a032-1553-47a8-88ad-c0f528d8dd3d
Expected output
PHPStan should report no errors.
Did PHPStan help you today? Did it make you happy in any way?
Thank you for this tool! It helps me do my work better every day.
The text was updated successfully, but these errors were encountered: