Skip to content

Commit b0a0d66

Browse files
authored
Merge pull request #38821 from canvural/patch-3
[9.x] Fixes invalid PHPDoc syntax
2 parents 097107a + 2832ecc commit b0a0d66

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/Illuminate/Collections/Enumerable.php

Lines changed: 3 additions & 5 deletions
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 $callback
259259
* @return static<TKey, TValue>
260260
*/
261261
public function eachSpread(callable $callback);
@@ -604,10 +604,8 @@ public function map(callable $callback);
604604
/**
605605
* Run a map over each nested chunk of items.
606606
*
607-
* @template TMapSpreadValue
608-
*
609-
* @param callable(...mixed): TMapSpreadValue $callback
610-
* @return static<TKey, TMapSpreadValue>
607+
* @param callable $callback
608+
* @return static<TKey, TValue>
611609
*/
612610
public function mapSpread(callable $callback);
613611

0 commit comments

Comments
 (0)