We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a90651 commit b430dd9Copy full SHA for b430dd9
1 file changed
src/Types/ContextFactory.php
@@ -181,6 +181,7 @@ public function createForNamespace(string $namespace, string $fileContents): Con
181
$currentNamespace = $this->parseNamespace($tokens);
182
break;
183
case T_CLASS:
184
+ case T_TRAIT:
185
// Fast-forward the iterator through the class so that any
186
// T_USE tokens found within are skipped - these are not
187
// valid namespace use statements so should be ignored.
0 commit comments