diff --git a/src/Illuminate/Collections/Arr.php b/src/Illuminate/Collections/Arr.php index 605f71499b93..cddcde2ecc9f 100644 --- a/src/Illuminate/Collections/Arr.php +++ b/src/Illuminate/Collections/Arr.php @@ -642,11 +642,12 @@ public static function mapWithKeys(array $array, callable $callback) /** * Run a map over each nested chunk of items. * - * @template TMapSpreadValue + * @template TKey + * @template TValue * - * @param array $array - * @param callable(mixed...): TMapSpreadValue $callback - * @return array + * @param array $array + * @param callable(mixed...): TValue $callback + * @return array */ public static function mapSpread(array $array, callable $callback) {