Skip to content

[12.x] Enhance PHPDoc for Manager classes with @param-closure-this #55002

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

Conversation

kayw-geek
Copy link
Contributor

The @param-closure-this annotation explicitly specifies the type of the $this variable within closures that use bindTo(), improving code readability by clarifying which object context is available inside these rebound closure parameters.

@kayw-geek kayw-geek changed the title Enhance PHPDoc for Manager classes with @param-closure-this [12.x] Enhance PHPDoc for Manager classes with @param-closure-this Mar 13, 2025
@kayw-geek kayw-geek force-pushed the feature/add-param-closure-this-phpdoc branch from 6ddfc12 to 21422a9 Compare March 13, 2025 02:18
@taylorotwell taylorotwell merged commit ae4481f into laravel:12.x Mar 13, 2025
39 checks passed
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