Skip to content

Commit 7be8a69

Browse files
authored
Fixes invalid PHPDoc syntax
1 parent 6f2c7a6 commit 7be8a69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Enumerable.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ public function each(callable $callback);
255255
/**
256256
* Execute a callback over each nested chunk of items.
257257
*
258-
* @param callable(...mixed): mixed $callback
258+
* @param callable(mixed ...$args): mixed $callback
259259
* @return static<TKey, TValue>
260260
*/
261261
public function eachSpread(callable $callback);
@@ -606,7 +606,7 @@ public function map(callable $callback);
606606
*
607607
* @template TMapSpreadValue
608608
*
609-
* @param callable(...mixed): TMapSpreadValue $callback
609+
* @param callable(mixed ...$args): TMapSpreadValue $callback
610610
* @return static<TKey, TMapSpreadValue>
611611
*/
612612
public function mapSpread(callable $callback);

0 commit comments

Comments
 (0)