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

Support all array_filter flags for narrowing down types #941

Merged
merged 1 commit into from Jan 29, 2022
Merged

Support all array_filter flags for narrowing down types #941

merged 1 commit into from Jan 29, 2022

Conversation

herndlm
Copy link
Contributor

@herndlm herndlm commented Jan 24, 2022

Adds support for ARRAY_FILTER_USE_KEY, ARRAY_FILTER_USE_BOTH and fixes the case when null is specified as callback explicitly.

@herndlm herndlm marked this pull request as ready for review January 25, 2022 08:41
@ondrejmirtes ondrejmirtes merged commit 8213dd7 into phpstan:master Jan 29, 2022
@ondrejmirtes
Copy link
Member

Thank you!

@herndlm herndlm deleted the support-narrowing-down-key-types-via-array-filter branch January 31, 2022 17:35
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