Skip to content

Conversation

@benatoff
Copy link
Contributor

This goes with issue #54289 .
Early returns out of the function collapseWithKeys to avoid an ArgumentCountError when called on an empty collection

@taylorotwell taylorotwell merged commit 6e0e2cb into laravel:11.x Jan 21, 2025
38 checks passed
@crynobone crynobone linked an issue Jan 22, 2025 that may be closed by this pull request
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.

ArgumentCountError when collapseWithKeys on empty Collection

2 participants