Skip to content

MutatingScope: prevent unnecessary work in removeTypeFromExpression()#4922

Merged
ondrejmirtes merged 1 commit intophpstan:2.1.xfrom
staabm:un-w
Feb 13, 2026
Merged

MutatingScope: prevent unnecessary work in removeTypeFromExpression()#4922
ondrejmirtes merged 1 commit intophpstan:2.1.xfrom
staabm:un-w

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Feb 13, 2026

removes a few unnecessary MutatingScope->getType() calls

@staabm staabm marked this pull request as ready for review February 13, 2026 13:55
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes ondrejmirtes merged commit e3ea780 into phpstan:2.1.x Feb 13, 2026
636 of 641 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@staabm staabm deleted the un-w branch February 13, 2026 14:00
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.

3 participants