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 resolving type of isset($arr['key']) #346

Merged
merged 2 commits into from Oct 18, 2020

Conversation

jlherren
Copy link
Contributor

It was buggy when $arr['key'] might be null.

Fixes phpstan/phpstan#1924

@ondrejmirtes
Copy link
Member

Hi, it'd be nice to also have additional regression test in the rule that produces the "Result of && is always true" message. Otherwise looks good to me 👍

It was buggy when $arr['key'] might be null.

Fixes phpstan/phpstan#1924
@ondrejmirtes
Copy link
Member

Rebased and force-pushed (I don't like merge commits), will merge it once the build passes. 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
2 participants