Skip to content

Commit 0f985d3

Browse files
daniserSergey Danilchenko
andauthored
[12.x] Adjust Arr typehints (#57165)
Co-authored-by: Sergey Danilchenko <[email protected]>
1 parent f3e4ac9 commit 0f985d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Illuminate/Collections/Arr.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ public static function join($array, $glue, $finalGlue = '')
648648
/**
649649
* Key an associative array by a field or using a callback.
650650
*
651-
* @param array $array
651+
* @param iterable $array
652652
* @param callable|array|string $keyBy
653653
* @return array
654654
*/
@@ -1024,7 +1024,7 @@ public static function sole($array, ?callable $callback = null)
10241024
/**
10251025
* Sort the array using the given callback or "dot" notation.
10261026
*
1027-
* @param array $array
1027+
* @param iterable $array
10281028
* @param callable|array|string|null $callback
10291029
* @return array
10301030
*/
@@ -1036,7 +1036,7 @@ public static function sort($array, $callback = null)
10361036
/**
10371037
* Sort the array in descending order using the given callback or "dot" notation.
10381038
*
1039-
* @param array $array
1039+
* @param iterable $array
10401040
* @param callable|array|string|null $callback
10411041
* @return array
10421042
*/

0 commit comments

Comments
 (0)