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

ThisObjectType with subtracted EnumCase not behaving equally to ObjectType with subtracted EnumCase #9142

Closed
janedbal opened this issue Apr 4, 2023 · 3 comments

Comments

@janedbal
Copy link
Contributor

janedbal commented Apr 4, 2023

Bug report

See snippet, $this while being enum is not behaving the same way as $self while being enum.

Code snippet that reproduces the problem

https://phpstan.org/r/f7aa056f-aec8-44bb-82f8-ae42cbd51ddd

Expected output

Equal behaviour

@ondrejmirtes
Copy link
Member

@janedbal
Copy link
Contributor Author

janedbal commented Apr 4, 2023

Thank you!

@github-actions
Copy link

github-actions bot commented May 6, 2023

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 May 6, 2023
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