Skip to content

Commit 8085df2

Browse files
committed
Fix return type patching for list and class-string pseudo types
1 parent 7771a74 commit 8085df2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

DebugClassLoader.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ class DebugClassLoader
7070
'self' => 'self',
7171
'parent' => 'parent',
7272
'mixed' => 'mixed',
73+
'list' => 'array',
74+
'class-string' => 'string',
7375
] + (\PHP_VERSION_ID >= 80000 ? [
7476
'static' => 'static',
7577
'$this' => 'static',

0 commit comments

Comments
 (0)