diff --git a/src/Arr.php b/src/Arr.php index 6b86df4..11b4588 100644 --- a/src/Arr.php +++ b/src/Arr.php @@ -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) {