From 9e29910c4f37d8b80e3044b5969fcac2c8c8b938 Mon Sep 17 00:00:00 2001 From: Grzegorz Kisielewicz Date: Thu, 7 Sep 2023 16:13:46 +0200 Subject: [PATCH] Change Arr:sortRecursiveDesc() method to static. (#48327) --- src/Illuminate/Collections/Arr.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Collections/Arr.php b/src/Illuminate/Collections/Arr.php index bb4ca6f98e89..3cb9a2ca180a 100644 --- a/src/Illuminate/Collections/Arr.php +++ b/src/Illuminate/Collections/Arr.php @@ -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); } /**