@@ -122,7 +122,7 @@ public static function wrap($value)
122
122
* @template TUnwrapKey of array-key
123
123
* @template TUnwrapValue
124
124
*
125
- * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value
125
+ * @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value
126
126
* @return array<TUnwrapKey, TUnwrapValue>
127
127
*/
128
128
public static function unwrap ($ value )
@@ -346,7 +346,7 @@ public function mapSpread(callable $callback)
346
346
* @template TMapToGroupsKey of array-key
347
347
* @template TMapToGroupsValue
348
348
*
349
- * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback
349
+ * @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback
350
350
* @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>>
351
351
*/
352
352
public function mapToGroups (callable $ callback )
@@ -359,7 +359,7 @@ public function mapToGroups(callable $callback)
359
359
/**
360
360
* Map a collection and flatten the result by a single level.
361
361
*
362
- * @param callable(TValue, TKey): mixed $callback
362
+ * @param callable(TValue, TKey): mixed $callback
363
363
* @return static<int, mixed>
364
364
*/
365
365
public function flatMap (callable $ callback )
@@ -370,7 +370,7 @@ public function flatMap(callable $callback)
370
370
/**
371
371
* Map the values into a new class.
372
372
*
373
- * @param class-string $class
373
+ * @param class-string $class
374
374
* @return static<TKey, mixed>
375
375
*/
376
376
public function mapInto ($ class )
@@ -436,8 +436,8 @@ public function forPage($page, $perPage)
436
436
* Partition the collection into two arrays using the given callback or key.
437
437
*
438
438
* @param (callable(TValue, TKey): bool)|TValue|string $key
439
- * @param TValue|string|null $operator
440
- * @param TValue|null $value
439
+ * @param TValue|string|null $operator
440
+ * @param TValue|null $value
441
441
* @return array<int, static<TKey, TValue>>
442
442
*/
443
443
public function partition ($ key , $ operator = null , $ value = null )
@@ -718,7 +718,7 @@ public function pipeInto($class)
718
718
* @template TReduceInitial
719
719
* @template TReduceReturnType
720
720
*
721
- * @param callable(TReduceInitial|TReduceReturnType, TValue): TReduceReturnType $callback
721
+ * @param callable(TReduceInitial|TReduceReturnType, TValue): TReduceReturnType $callback
722
722
* @param TReduceInitial $initial
723
723
* @return TReduceReturnType
724
724
*/
@@ -739,8 +739,8 @@ public function reduce(callable $callback, $initial = null)
739
739
* @template TReduceWithKeysInitial
740
740
* @template TReduceWithKeysReturnType
741
741
*
742
- * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue): TReduceWithKeysReturnType $callback
743
- * @param TReduceWithKeysInitial $initial
742
+ * @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue): TReduceWithKeysReturnType $callback
743
+ * @param TReduceWithKeysInitial $initial
744
744
* @return TReduceWithKeysReturnType
745
745
*/
746
746
public function reduceWithKeys (callable $ callback , $ initial = null )
0 commit comments