Skip to content

Commit

Permalink
Fix orderBy method in Arr helper
Browse files Browse the repository at this point in the history
  • Loading branch information
gabbanaesteban committed Apr 11, 2019
1 parent 367f265 commit 28e09c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Arr.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public static function groupBy(array $items, $func): array
*
* @return array
*/
public function orderBy(array $items, $attr, $order): array
public static function orderBy(array $items, $attr, $order): array
{
$sortedItems = [];
foreach ($items as $item) {
Expand Down

0 comments on commit 28e09c4

Please sign in to comment.