Skip to content

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Aug 5, 2024

we could infer non-falsy-string in more situtations but this one is a easy start, which make constant-array result-types of the patterns more different.

@staabm staabm marked this pull request as ready for review August 5, 2024 06:40
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@staabm staabm marked this pull request as draft August 5, 2024 06:47
@staabm staabm marked this pull request as ready for review August 5, 2024 07:30
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes ondrejmirtes merged commit 28022f2 into phpstan:1.11.x Aug 5, 2024
@ondrejmirtes
Copy link
Member

Thank you!

@staabm staabm deleted the non-falsy branch August 5, 2024 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants