diff --git a/stubs/CoreGenericFunctions.phpstub b/stubs/CoreGenericFunctions.phpstub index 90a8ea7b2..adec2461b 100644 --- a/stubs/CoreGenericFunctions.phpstub +++ b/stubs/CoreGenericFunctions.phpstub @@ -607,7 +607,7 @@ function explode(string $delimiter, string $string, int $limit = -1) : array {} * * @psalm-flow ($subject) -(array-assignment)-> return * - * @return ($flags is 1|3|5|7 ? list|false : non-empty-list|false) + * @return ($flags is 0 ? non-empty-list|false : list|list>|false) * * @psalm-ignore-falsable-return */