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

[11.x] Add parameter typing for closure to addGlobalScope method #54677

Merged

Conversation

jnoordsij
Copy link
Contributor

Inspired by the efforts in #54452, this MR enhances the parameter typing on addGlobalScope so that inside the closure the builder parameter is correctly typed.

cc @calebdw FYI

@calebdw
Copy link
Contributor

calebdw commented Feb 18, 2025

Looks good to me, thanks!

@taylorotwell taylorotwell merged commit 6391f7b into laravel:11.x Feb 19, 2025
44 checks passed
@jnoordsij jnoordsij deleted the addglobalscope-infer-builder-type branch February 20, 2025 06:21
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.

3 participants