Skip to content

Commit

Permalink
Change Arr:sortRecursiveDesc() method to static. (laravel#48327)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkisiel authored and coppolafab committed Sep 8, 2023
1 parent e576126 commit 553c0ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Collections/Arr.php
Original file line number Diff line number Diff line change
Expand Up @@ -806,9 +806,9 @@ public static function sortRecursive($array, $options = SORT_REGULAR, $descendin
* @param int $options
* @return array
*/
public function sortRecursiveDesc($array, $options = SORT_REGULAR)
public static function sortRecursiveDesc($array, $options = SORT_REGULAR)
{
return $this->sortRecursive($array, $options, true);
return static::sortRecursive($array, $options, true);
}

/**
Expand Down

0 comments on commit 553c0ec

Please sign in to comment.