Commit bfa3be8
Use filtered remaining type instead of new ObjectType for unhandled classes
Preserve generic type information by filtering the original $typeWithMethod
to remove handled classes, rather than creating plain ObjectType instances
which lose generics and other type details.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4ae3833 commit bfa3be8
File tree
1 file changed
+10
-14
lines changed- src/Analyser/ExprHandler/Helper
1 file changed
+10
-14
lines changedLines changed: 10 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
94 | 93 | | |
95 | 94 | | |
96 | 95 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
107 | 103 | | |
108 | 104 | | |
109 | | - | |
110 | | - | |
| 105 | + | |
| 106 | + | |
111 | 107 | | |
112 | | - | |
| 108 | + | |
113 | 109 | | |
114 | 110 | | |
115 | 111 | | |
| |||
0 commit comments