Skip to content

Conversation

@MarekVikartovsky
Copy link
Contributor

This pull request fixes forwarding only provided attributes from Illuminate\Database\Eloquent\Collection::partition method to its parent. This method was created in this PR 53304, but at the moment it is forwarding all the 3 arguments, so if I provide only 2 arguments, the where operator in operatorForWhere method cannot be guessed correctly.

@MarekVikartovsky MarekVikartovsky changed the title Forward only passed arguments into Illuminate\Database\Eloquent\Collection::partition method [12.x] Forward only passed arguments into Illuminate\Database\Eloquent\Collection::partition method Apr 15, 2025
@taylorotwell taylorotwell merged commit b9d304d into laravel:12.x Apr 15, 2025
60 of 61 checks passed
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