Skip to content

Conversation

@herndlm
Copy link
Contributor

@herndlm herndlm commented Apr 19, 2022

Closes phpstan/phpstan#5783

moar special handling for my friend and nemesis the constant array type.. Problem was that getIterableValueType returns the union of all values which will be e.g. Foo for Foo|Foo.

@herndlm herndlm changed the base branch from 1.6.x to 1.5.x April 19, 2022 13:38
@ondrejmirtes ondrejmirtes merged commit 39e8286 into phpstan:1.5.x Apr 19, 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.

Incorrect array shape using splat (...) in array_push

2 participants