Skip to content

Commit

Permalink
Merge pull request #38821 from canvural/patch-3
Browse files Browse the repository at this point in the history
[9.x] Fixes invalid PHPDoc syntax
  • Loading branch information
nunomaduro authored Sep 15, 2021
2 parents 097107a + 2832ecc commit b0a0d66
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/Illuminate/Collections/Enumerable.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public function each(callable $callback);
/**
* Execute a callback over each nested chunk of items.
*
* @param callable(...mixed): mixed $callback
* @param callable $callback
* @return static<TKey, TValue>
*/
public function eachSpread(callable $callback);
Expand Down Expand Up @@ -604,10 +604,8 @@ public function map(callable $callback);
/**
* Run a map over each nested chunk of items.
*
* @template TMapSpreadValue
*
* @param callable(...mixed): TMapSpreadValue $callback
* @return static<TKey, TMapSpreadValue>
* @param callable $callback
* @return static<TKey, TValue>
*/
public function mapSpread(callable $callback);

Expand Down

0 comments on commit b0a0d66

Please sign in to comment.