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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.x] Add @template typehints for make / instance / app to improve type hints in code #41557

Merged
merged 1 commit into from
Mar 18, 2022

Conversation

pionl
Copy link
Contributor

@pionl pionl commented Mar 18, 2022

馃憢

Just a small life improvements for IDE users.

  • This enables resolving type of instance that container resolves without any IDE plugins.
  • Helps phpstan / psalm / other tools

Screenshots from PHPstorm while testing the annotations.

Sni虂mek obrazovky 2022-03-15 v聽16 49 52

DispatchJobAction

- This enables resolving type of instance that container resolves without any IDE plugins.
- Helps phpstan / psalm / other tools
@driesvints
Copy link
Member

Please see #41504 & #41527

@taylorotwell taylorotwell merged commit ef44053 into laravel:9.x Mar 18, 2022
nunomaduro added a commit that referenced this pull request Mar 18, 2022
taylorotwell pushed a commit that referenced this pull request Mar 18, 2022
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.

None yet

3 participants