Skip to content

Avoid reporting always true switch#769

Closed
VincentLanglet wants to merge 1 commit into
phpstan:2.0.xfrom
VincentLanglet:avoidAlwaysTrue
Closed

Avoid reporting always true switch#769
VincentLanglet wants to merge 1 commit into
phpstan:2.0.xfrom
VincentLanglet:avoidAlwaysTrue

Conversation

@VincentLanglet

Copy link
Copy Markdown
Contributor

This is as-safe as the previous way but without the always true case error I think

@ondrejmirtes

Copy link
Copy Markdown
Member

We shouldn't need to change this.

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.

2 participants