Skip to content

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Dec 1, 2025

No description provided.

Copy link
Member

@ondrejmirtes ondrejmirtes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An idea - these are exactly, but absolutely exactly the same. We could have a single class that has multiple instanceof ... || instanceof ... in supports.

@ondrejmirtes ondrejmirtes merged commit 5e42581 into phpstan:2.1.x Dec 1, 2025
608 of 637 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

BTW I wouldn't refactor the others :)

@staabm staabm deleted the magic branch December 1, 2025 15:17
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