Skip to content

Commit 99677ac

Browse files
CS fixes
1 parent fc87103 commit 99677ac

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

Collection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ public function nth($step, $offset = 0)
794794
/**
795795
* Get the items with the specified keys.
796796
*
797-
* @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey> $keys
797+
* @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey> $keys
798798
* @return static<TKey, TValue>
799799
*/
800800
public function only($keys)

Enumerable.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ public function flatMap(callable $callback);
661661
/**
662662
* Map the values into a new class.
663663
*
664-
* @param class-string $class
664+
* @param class-string $class
665665
* @return static<TKey, mixed>
666666
*/
667667
public function mapInto($class);

Traits/EnumeratesValues.php

+9-9
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public static function wrap($value)
122122
* @template TUnwrapKey of array-key
123123
* @template TUnwrapValue
124124
*
125-
* @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value
125+
* @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value
126126
* @return array<TUnwrapKey, TUnwrapValue>
127127
*/
128128
public static function unwrap($value)
@@ -346,7 +346,7 @@ public function mapSpread(callable $callback)
346346
* @template TMapToGroupsKey of array-key
347347
* @template TMapToGroupsValue
348348
*
349-
* @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback
349+
* @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback
350350
* @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>>
351351
*/
352352
public function mapToGroups(callable $callback)
@@ -359,7 +359,7 @@ public function mapToGroups(callable $callback)
359359
/**
360360
* Map a collection and flatten the result by a single level.
361361
*
362-
* @param callable(TValue, TKey): mixed $callback
362+
* @param callable(TValue, TKey): mixed $callback
363363
* @return static<int, mixed>
364364
*/
365365
public function flatMap(callable $callback)
@@ -370,7 +370,7 @@ public function flatMap(callable $callback)
370370
/**
371371
* Map the values into a new class.
372372
*
373-
* @param class-string $class
373+
* @param class-string $class
374374
* @return static<TKey, mixed>
375375
*/
376376
public function mapInto($class)
@@ -436,8 +436,8 @@ public function forPage($page, $perPage)
436436
* Partition the collection into two arrays using the given callback or key.
437437
*
438438
* @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
441441
* @return array<int, static<TKey, TValue>>
442442
*/
443443
public function partition($key, $operator = null, $value = null)
@@ -718,7 +718,7 @@ public function pipeInto($class)
718718
* @template TReduceInitial
719719
* @template TReduceReturnType
720720
*
721-
* @param callable(TReduceInitial|TReduceReturnType, TValue): TReduceReturnType $callback
721+
* @param callable(TReduceInitial|TReduceReturnType, TValue): TReduceReturnType $callback
722722
* @param TReduceInitial $initial
723723
* @return TReduceReturnType
724724
*/
@@ -739,8 +739,8 @@ public function reduce(callable $callback, $initial = null)
739739
* @template TReduceWithKeysInitial
740740
* @template TReduceWithKeysReturnType
741741
*
742-
* @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue): TReduceWithKeysReturnType $callback
743-
* @param TReduceWithKeysInitial $initial
742+
* @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue): TReduceWithKeysReturnType $callback
743+
* @param TReduceWithKeysInitial $initial
744744
* @return TReduceWithKeysReturnType
745745
*/
746746
public function reduceWithKeys(callable $callback, $initial = null)

0 commit comments

Comments
 (0)