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

Fix in_array non-empty-array type specification #1545

Merged
merged 1 commit into from Jul 25, 2022

Conversation

herndlm
Copy link
Contributor

@herndlm herndlm commented Jul 25, 2022

Closes phpstan/phpstan#7684

"Unsimplifies" what I oversimplified in #1510, sorry :)

I did not get it at first, but it makes sense I suppose. My simplification only added non-empty-array to the new array type, but not the old one (which might be different than what we create manually inside the extension).

Also fixed the indentation of a block which was off..

@herndlm herndlm marked this pull request as ready for review July 25, 2022 12:21
@ondrejmirtes ondrejmirtes merged commit 7569092 into phpstan:1.8.x Jul 25, 2022
@ondrejmirtes
Copy link
Member

Thank you!

@herndlm herndlm deleted the fix-7684 branch July 25, 2022 12:27
@DaDeather
Copy link

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
3 participants