diff --git a/src/Concerns/EnumerableMethods.php b/src/Concerns/EnumerableMethods.php index b5572bc84..f1c94ada9 100644 --- a/src/Concerns/EnumerableMethods.php +++ b/src/Concerns/EnumerableMethods.php @@ -7,6 +7,7 @@ /** * @template TKey of array-key * @template TValue + * @template TMapValue * * @implements \ArrayAccess */ @@ -15,7 +16,7 @@ trait EnumerableMethods /** * @deprecated In v5, use a regular Laravel collection instead * - * @param callable(TValue, TKey): TValue $through + * @param callable(TValue, TKey): TMapValue $through * * @return static */ @@ -31,7 +32,7 @@ public function through(callable $through): static /** * @deprecated In v5, use a regular Laravel collection instead * - * @param callable(TValue, TKey): TValue $map + * @param callable(TValue, TKey): TMapValue $map * * @return static */