Skip to content

Wrap the closure return type in withFreshQueryLog() - #61458

Merged
taylorotwell merged 1 commit into
laravel:12.xfrom
SanderMuller:closure-return-type-parens-12x
Sep 6, 2026
Merged

taylorotwell merged 1 commit into
laravel:12.xfrom
SanderMuller:closure-return-type-parens-12x

Conversation

@SanderMuller

Copy link
Copy Markdown
Contributor

Backport of #61444.

@taylorotwell
taylorotwell merged commit 8189a1d into laravel:12.x Sep 6, 2026
72 checks passed
binaryfire added a commit to hypervel/components-backup that referenced this pull request Oct 1, 2026
Add the parenthesized closure return shape to withFreshQueryLog so callback results retain query, binding and timing information in static analysis.

Upstream: laravel/framework#61444
Upstream: laravel/framework#61458

Framework source: 7068848dfe48fc3a433598e09ce798799d442a52.
Documentation source: laravel/docs 13.x at ec28ad6ee78ebeada6095e05d33da7e8c42dd6dc.

Validated with affected tests, repository formatting, full source and type-fixture analysis, and the full parallel test suite.
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