Skip to content

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