diff --git a/src/Psalm/Internal/Stubs/Generator/StubsGenerator.php b/src/Psalm/Internal/Stubs/Generator/StubsGenerator.php index 78fa61f7951..4e4e2fb984d 100644 --- a/src/Psalm/Internal/Stubs/Generator/StubsGenerator.php +++ b/src/Psalm/Internal/Stubs/Generator/StubsGenerator.php @@ -300,7 +300,7 @@ public static function getParserTypeFromPsalmType(Type\Union $type): ?PhpParser\ || $atomic_type instanceof Type\Atomic\TArray || $atomic_type instanceof Type\Atomic\TIterable ) { - $identifier_string = $atomic_type->toPhpString(null, [], null, 8); + $identifier_string = $atomic_type->toPhpString(null, [], null, 80000); if ($identifier_string === null) { throw new \UnexpectedValueException(