Skip to content

[12.x] Simplify LazyCollection passthru calls and docblocks - #58180

Merged
taylorotwell merged 1 commit into
laravel:12.xfrom
jnoordsij:simplify-passthru
Dec 20, 2025
Merged

taylorotwell merged 1 commit into
laravel:12.xfrom
jnoordsij:simplify-passthru

Conversation

@jnoordsij

Copy link
Copy Markdown
Contributor

For all passthru calls we use the magic __FUNCTION__ constant for a more consistent forwarding pattern. Moreover for all methods which are part of the Enumerable interface we inherit the docblock and add an Override attribute.

@taylorotwell
taylorotwell merged commit ca9fb67 into laravel:12.x Dec 20, 2025
72 checks passed
@jnoordsij
jnoordsij deleted the simplify-passthru branch December 21, 2025 09:06
akyrey pushed a commit to akyrey/framework that referenced this pull request Dec 29, 2025
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