We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f2c7a6 commit 7be8a69Copy full SHA for 7be8a69
Enumerable.php
@@ -255,7 +255,7 @@ public function each(callable $callback);
255
/**
256
* Execute a callback over each nested chunk of items.
257
*
258
- * @param callable(...mixed): mixed $callback
+ * @param callable(mixed ...$args): mixed $callback
259
* @return static<TKey, TValue>
260
*/
261
public function eachSpread(callable $callback);
@@ -606,7 +606,7 @@ public function map(callable $callback);
606
607
* @template TMapSpreadValue
608
609
- * @param callable(...mixed): TMapSpreadValue $callback
+ * @param callable(mixed ...$args): TMapSpreadValue $callback
610
* @return static<TKey, TMapSpreadValue>
611
612
public function mapSpread(callable $callback);
0 commit comments