diff --git a/src/Symfony/Component/ErrorHandler/DebugClassLoader.php b/src/Symfony/Component/ErrorHandler/DebugClassLoader.php index 342e6e83b06f0..ce05790b17f1b 100644 --- a/src/Symfony/Component/ErrorHandler/DebugClassLoader.php +++ b/src/Symfony/Component/ErrorHandler/DebugClassLoader.php @@ -70,6 +70,8 @@ class DebugClassLoader 'self' => 'self', 'parent' => 'parent', 'mixed' => 'mixed', + 'list' => 'array', + 'class-string' => 'string', ] + (\PHP_VERSION_ID >= 80000 ? [ 'static' => 'static', '$this' => 'static',