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

Remove unneeded continue in array_push / array_unset arg handling #1252

Merged
merged 1 commit into from
Apr 26, 2022

Conversation

herndlm
Copy link
Contributor

@herndlm herndlm commented Apr 26, 2022

The code here is already complex enough..

Was introduced in #1210, I'm not a 100% sure why it is not needed anymore, but I guess because of the optional constant array adaptions I did later there and in the builder, most likely combined with what was fixed in the constant array super-type-checks today.
I had a weird feeling when I added it, so this confirms that ;)

@herndlm
Copy link
Contributor Author

herndlm commented Apr 26, 2022

*array_unshift!!! I messed up the commit/title

@ondrejmirtes ondrejmirtes merged commit 8ad5d3f into phpstan:1.6.x Apr 26, 2022
@ondrejmirtes
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants