Skip to content

Prevent most $parentPhpDocBlock->getClassReflection()->isBuiltin() calls#2585

Merged
ondrejmirtes merged 1 commit intophpstan:1.10.xfrom
staabm:less-reflection
Aug 25, 2023
Merged

Prevent most $parentPhpDocBlock->getClassReflection()->isBuiltin() calls#2585
ondrejmirtes merged 1 commit intophpstan:1.10.xfrom
staabm:less-reflection

Conversation

@staabm
Copy link
Copy Markdown
Contributor

@staabm staabm commented Aug 25, 2023

micro optimizing - re-shuffle conditions, since we only need to call into the reflection class for constructors

@ondrejmirtes ondrejmirtes merged commit 869f0c7 into phpstan:1.10.x Aug 25, 2023
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you!

@staabm staabm deleted the less-reflection branch August 25, 2023 12:03
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