Skip to content

Resolve ExtendedFunctionVariant::getReturnType() more lazily - #3966

Closed
ondrejmirtes wants to merge 2 commits into
2.3.xfrom
return-type-lazily
Closed

ondrejmirtes wants to merge 2 commits into
2.3.xfrom
return-type-lazily

Conversation

@ondrejmirtes

Copy link
Copy Markdown
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()`.
@ondrejmirtes
ondrejmirtes changed the base branch from 2.1.x to 2.3.x October 31, 2026 13:46
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