Skip to content

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

Development

Successfully merging this pull request may close these issues.

2 participants