Skip to content

Commit

Permalink
Update CanSortRecords.php
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Mar 25, 2021
1 parent 4ebf198 commit 5bb10c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tables/src/Concerns/CanSortRecords.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function getSorts()
}

return collect($column->getSortColumns())
->mapWithKeys(fn ($sortColumn) => [$sortColumn => $sortDirection])
->map(fn ($sortColumn) => [$sortColumn, $sortDirection])
->toArray();
}

Expand Down

0 comments on commit 5bb10c4

Please sign in to comment.