@@ -1321,7 +1321,7 @@ public function sortDesc($options = SORT_REGULAR)
1321
1321
/**
1322
1322
* Sort the collection using the given callback.
1323
1323
*
1324
- * @param array<array-key, (callable(TValue, TKey): mixed)>| array<array-key , string>|(callable(TValue, TKey): mixed)|string $callback
1324
+ * @param array<array-key, (callable(TValue, TKey): mixed)|string| array{string , string} >|(callable(TValue, TKey): mixed)|string $callback
1325
1325
* @param int $options
1326
1326
* @param bool $descending
1327
1327
* @return static
@@ -1359,7 +1359,7 @@ public function sortBy($callback, $options = SORT_REGULAR, $descending = false)
1359
1359
/**
1360
1360
* Sort the collection using multiple comparisons.
1361
1361
*
1362
- * @param array<array-key, (callable(TValue, TKey): mixed)>| array<array-key , string> $comparisons
1362
+ * @param array<array-key, (callable(TValue, TKey): mixed)|string| array{string , string} > $comparisons
1363
1363
* @return static
1364
1364
*/
1365
1365
protected function sortByMany (array $ comparisons = [])
@@ -1401,7 +1401,7 @@ protected function sortByMany(array $comparisons = [])
1401
1401
/**
1402
1402
* Sort the collection in descending order using the given callback.
1403
1403
*
1404
- * @param array<array-key, (callable(TValue, TKey): mixed)>| array<array-key , string>|(callable(TValue, TKey): mixed)|string $callback
1404
+ * @param array<array-key, (callable(TValue, TKey): mixed)|string| array{string , string} >|(callable(TValue, TKey): mixed)|string $callback
1405
1405
* @param int $options
1406
1406
* @return static
1407
1407
*/
0 commit comments