Skip to content

UI\Component::getPresenter return type extension #26

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

Merged
merged 1 commit into from
Jul 10, 2018
Merged

UI\Component::getPresenter return type extension #26

merged 1 commit into from
Jul 10, 2018

Conversation

xificurk
Copy link
Contributor

@xificurk xificurk commented Jul 6, 2018

Add support for dynamic return type based on $throw parameter of Nette\Application\UI\Component::getPresenter().

This PR is heavily based on ComponentLookupDynamicReturnTypeExtension.

@ondrejmirtes ondrejmirtes merged commit ed77cc1 into phpstan:master Jul 10, 2018
@ondrejmirtes
Copy link
Member

Thanks!

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