Skip to content

Commit

Permalink
Change Arr:sortRecursiveDesc() method to static. (#48327)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkisiel authored Sep 7, 2023
1 parent 2e3d23f commit 9e29910
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 9e29910

Please sign in to comment.