From 6984f205c5af44850f12aa176a9f1f3b642f098b Mon Sep 17 00:00:00 2001 From: orklah Date: Sun, 14 Nov 2021 00:14:39 +0100 Subject: [PATCH] fix --- src/Psalm/Internal/Stubs/Generator/StubsGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(