Skip to content

Commit 9e29910

Browse files
authored
Change Arr:sortRecursiveDesc() method to static. (#48327)
1 parent 2e3d23f commit 9e29910

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Collections/Arr.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -806,9 +806,9 @@ public static function sortRecursive($array, $options = SORT_REGULAR, $descendin
806806
* @param int $options
807807
* @return array
808808
*/
809-
public function sortRecursiveDesc($array, $options = SORT_REGULAR)
809+
public static function sortRecursiveDesc($array, $options = SORT_REGULAR)
810810
{
811-
return $this->sortRecursive($array, $options, true);
811+
return static::sortRecursive($array, $options, true);
812812
}
813813

814814
/**

0 commit comments

Comments
 (0)