Skip to content

Commit

Permalink
Update Kabsa.php
Browse files Browse the repository at this point in the history
  • Loading branch information
BSN4 committed Mar 9, 2020
1 parent 87d3e31 commit 1df74ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/Kabsa.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public static function all($columns = [])
{
self::unguard();
$self = new self();
return Collection::make($self->rows ?? [])->map(fn ($row) => new self($row));
return Collection::make($self->rows ?? [])->map(function ($row) { return new self($row); });
}

public function __call($method, $parameters)
Expand Down

0 comments on commit 1df74ac

Please sign in to comment.