diff --git a/stubs/CoreGenericFunctions.phpstub b/stubs/CoreGenericFunctions.phpstub index ca73f6857d5..2ef9243d907 100644 --- a/stubs/CoreGenericFunctions.phpstub +++ b/stubs/CoreGenericFunctions.phpstub @@ -1084,10 +1084,11 @@ function str_getcsv(string $string, string $separator = ',', string $enclosure = /** * @template TKey as array-key + * @template TArray as array * - * @param array $array + * @param TArray $array * - * @return array + * @return (TArray is non-empty-array ? non-empty-array : array) * * @psalm-pure */