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
__debugInfo
https://phpstan.org/r/58658ecd-f53b-44dd-b101-d6d57a4d4661
quick patch release would be helpful
no error
The text was updated successfully, but these errors were encountered:
/cc @staabm the bug is here https://github.com/phpstan/phpstan-src/blob/ea5ce9c45710592e9aca9896dafc544c2b818e0d/src/Reflection/Php/PhpMethodFromParserNodeReflection.php#L86, it needs to be fixed by intersecting with $realReturnType same way it's done for __set_state: https://github.com/phpstan/phpstan-src/blob/ea5ce9c45710592e9aca9896dafc544c2b818e0d/src/Reflection/Php/PhpMethodFromParserNodeReflection.php#L79
$realReturnType
__set_state
Sorry, something went wrong.
Fixed: phpstan/phpstan-src#2435
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.
Successfully merging a pull request may close this issue.
Bug report
Code snippet that reproduces the problem
https://phpstan.org/r/58658ecd-f53b-44dd-b101-d6d57a4d4661
quick patch release would be helpful
Expected output
no error
The text was updated successfully, but these errors were encountered: