Skip to content

Specify types on match() condition correctly#3053

Merged
ondrejmirtes merged 1 commit intophpstan:1.11.xfrom
rvanvelzen:narrow-match-condition-type
May 8, 2024
Merged

Specify types on match() condition correctly#3053
ondrejmirtes merged 1 commit intophpstan:1.11.xfrom
rvanvelzen:narrow-match-condition-type

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
@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