Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract MethodCallReturnTypeHelper from MutatingScope #3410

Open
wants to merge 1 commit into
base: 1.12.x
Choose a base branch
from

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Sep 6, 2024

refactor code arround method dynamic return type extensions to allow easier re-use towards phpstan/phpstan#6492 (comment)

no implementation changes - just moving code arround.


additional reducing MutatingScope size is a nice side-effect IMO

as a followup PR I would extract a FuncCallReturnTypeHelper so we in the end no longer depend on DynamicReturnTypeExtensionRegistry from MutatingScope.

@staabm staabm marked this pull request as ready for review September 6, 2024 11:00
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

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