Skip to content

Conversation

@techmahedy
Copy link
Member

Previously, we just returned an array; now we return it as a collection

return array_map(
            fn($items) => new Collection($this->modelClass, $items),
            $grouped
        );

@techmahedy techmahedy merged commit 80a095b into doppar:3.x Jan 19, 2026
11 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.

1 participant