Skip to content

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
Development

Successfully merging this pull request may close these issues.

False positive with in_array when being used in loops
3 participants