Skip to content

ImpossibleCheckTypeHelper: Cache context determination#4817

Closed
staabm wants to merge 1 commit intophpstan:2.1.xfrom
staabm:cache-context
Closed

ImpossibleCheckTypeHelper: Cache context determination#4817
staabm wants to merge 1 commit intophpstan:2.1.xfrom
staabm:cache-context

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Jan 24, 2026

cache the TypeSpecifierContext per CallLike, in case its a native non-conditional return type of a single-variant callable.

@staabm
Copy link
Contributor Author

staabm commented Jan 25, 2026

the method is not slow enough to add caching for it

@staabm staabm deleted the cache-context branch January 25, 2026 09:01
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.

1 participant