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 eeaf646 commit c1029e7Copy full SHA for c1029e7
app/Parsers/MemberAccessExpressionParser.php
@@ -22,7 +22,7 @@ public function parse(MemberAccessExpression $node)
22
23
foreach ($node->getDescendantNodes() as $child) {
24
if ($child instanceof QualifiedName) {
25
- $this->context->className ??= (string) $child->getResolvedName();
+ $this->context->className ??= (string) ($child->getResolvedName() ?? $child->getText());
26
27
return $this->context;
28
}
0 commit comments