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

Bogus incorrect type error when appending to ArrayObject|null (or other array-like objects) #8751

Closed
dktapps opened this issue Jan 20, 2023 · 3 comments

Comments

@dktapps
Copy link
Contributor

dktapps commented Jan 20, 2023

Bug report

Code snippet that reproduces the problem

https://phpstan.org/r/10bc4ea9-fe30-4211-9d2b-52dc7fef4dee

Expected output

No error should be reported.

@ondrejmirtes
Copy link
Member

I feel like this is exactly the same as your issue #6398.

@dktapps
Copy link
Contributor Author

dktapps commented Jan 21, 2023

well that is unfortunate... almost exactly a year since I last ran into this

@github-actions
Copy link

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 Feb 22, 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