Skip to content

Conversation

@ArtemGoutsoul
Copy link
Contributor

Fix for: phpstan/phpstan#3297

Seems like array key handling was implemented only for isset()

I factored it out so that it would be applied also for !empty(), added a test (used example from the issue).

@ondrejmirtes ondrejmirtes merged commit d675602 into phpstan:master Jul 2, 2021
@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