Skip to content
New issue

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

False positive: Method HelloWorld::sayHelloBug() should return T but returns (A&T)|T. #6635

Closed
LastDragon-ru opened this issue Feb 12, 2022 · 2 comments

Comments

@LastDragon-ru
Copy link

Bug report

Similar to #6566, introduced in v1.4.6. Interesting fact: no error on level 9

Code snippet that reproduces the problem

https://phpstan.org/r/6c944754-4577-4e89-86e4-d2b4a6c376c0

Expected output

no errors

@ondrejmirtes
Copy link
Member

This got fixed recently. Please try the latest release 1.4.8. Thanks.

@github-actions
Copy link

github-actions bot commented Apr 6, 2022

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants