diff --git a/src/Illuminate/Collections/Enumerable.php b/src/Illuminate/Collections/Enumerable.php index df98aa53856f..db94c741c981 100644 --- a/src/Illuminate/Collections/Enumerable.php +++ b/src/Illuminate/Collections/Enumerable.php @@ -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 */ public function eachSpread(callable $callback); @@ -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 + * @param callable $callback + * @return static */ public function mapSpread(callable $callback);