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

Specify types on match() condition correctly #3053

Merged

Conversation

rvanvelzen
Copy link
Contributor

@rvanvelzen rvanvelzen commented May 8, 2024

@rvanvelzen rvanvelzen force-pushed the narrow-match-condition-type branch from 8050cac to a8a301d Compare May 8, 2024 09:25
@ondrejmirtes ondrejmirtes changed the base branch from 1.10.x to 1.11.x May 8, 2024 09:50
@ondrejmirtes ondrejmirtes merged commit 149a1e7 into phpstan:1.11.x May 8, 2024
442 of 443 checks passed
@ondrejmirtes
Copy link
Member

Thank you very much!

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.

match on count(...) could narrow array type False positive when using match expression to narrow types
2 participants