From 0629229d9a3d11eaea96a6c935fddf8382bf03d1 Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Wed, 8 Nov 2023 18:54:08 +1100 Subject: [PATCH 1/2] Fix mapSpread doc --- src/Illuminate/Collections/Traits/EnumeratesValues.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Collections/Traits/EnumeratesValues.php b/src/Illuminate/Collections/Traits/EnumeratesValues.php index 32c7676fbf7e..3e5d97367545 100644 --- a/src/Illuminate/Collections/Traits/EnumeratesValues.php +++ b/src/Illuminate/Collections/Traits/EnumeratesValues.php @@ -350,7 +350,7 @@ public function isNotEmpty() * * @template TMapSpreadValue * - * @param callable(mixed): TMapSpreadValue $callback + * @param callable(...mixed): TMapSpreadValue $callback * @return static */ public function mapSpread(callable $callback) From eb4a14793ad08e9c1ff37bbd68211fa6f4ff9702 Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Mon, 20 Nov 2023 09:03:24 +1100 Subject: [PATCH 2/2] formatting --- src/Illuminate/Collections/Traits/EnumeratesValues.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Collections/Traits/EnumeratesValues.php b/src/Illuminate/Collections/Traits/EnumeratesValues.php index 3e5d97367545..a1113eb9c76f 100644 --- a/src/Illuminate/Collections/Traits/EnumeratesValues.php +++ b/src/Illuminate/Collections/Traits/EnumeratesValues.php @@ -350,7 +350,7 @@ public function isNotEmpty() * * @template TMapSpreadValue * - * @param callable(...mixed): TMapSpreadValue $callback + * @param callable(mixed...): TMapSpreadValue $callback * @return static */ public function mapSpread(callable $callback)