Skip to content

Resolve ExtendedFunctionVariant::getReturnType() more lazily#3966

Draft
ondrejmirtes wants to merge 2 commits into2.1.xfrom
return-type-lazily
Draft

Resolve ExtendedFunctionVariant::getReturnType() more lazily#3966
ondrejmirtes wants to merge 2 commits into2.1.xfrom
return-type-lazily

Conversation

@ondrejmirtes
Copy link
Member

This will allow the $this or static in PHPDoc return type to be first replaced with final-overriden ObjectType
before being thrown into TypehintHelper::decideType().

This will allow the `$this` or `static` in PHPDoc return type to be first
replaced with final-overriden ObjectType
before being thrown into `TypehintHelper::decideType()`.
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