Skip to content

Commit

Permalink
Backport of #16
Browse files Browse the repository at this point in the history
Backport of #16
  • Loading branch information
Radiergummi authored Apr 26, 2021
1 parent a7f7f1b commit f6a56d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public function getAggregations(): BaseCollection
*/
public function toArray(): array
{
return array_map(static function ($item): array {
return array_map(static function ($item) {
return $item instanceof Arrayable
? $item->toArray()
: $item;
Expand Down

0 comments on commit f6a56d4

Please sign in to comment.