Skip to content

Commit 0772bfa

Browse files
authored
fix: Allow getResolvedName to resolve QualifiedName in TraitUseClause
1 parent 84ce745 commit 0772bfa

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Node/QualifiedName.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ public function getResolvedName($namespaceDefinition = null) {
8585
$this->parent instanceof Node\Statement\NamespaceUseDeclaration ||
8686
$this->parent instanceof Node\NamespaceUseClause ||
8787
$this->parent instanceof Node\NamespaceUseGroupClause ||
88-
$this->parent->parent instanceof Node\TraitUseClause ||
8988
$this->parent instanceof Node\TraitSelectOrAliasClause
9089
) {
9190
return null;

0 commit comments

Comments
 (0)