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 2ef2bab commit fd1c2b0Copy full SHA for fd1c2b0
app/Parsers/ScopedPropertyAccessExpressionParser.php
@@ -17,7 +17,7 @@ class ScopedPropertyAccessExpressionParser extends AbstractParser
17
public function parse(ScopedPropertyAccessExpression $node)
18
{
19
$this->context->methodName = $node->memberName->getFullText($node->getRoot()->getFullText());
20
- $this->context->className = (string) $node->scopeResolutionQualifier->getResolvedName();
+ $this->context->className = (string) ($node->scopeResolutionQualifier?->getResolvedName() ?? $node->scopeResolutionQualifier?->getText());
21
22
return $this->context;
23
}
0 commit comments