Comment should call out scoped property call
parent
99908b598a
commit
8ce31a1ecc
|
@ -623,9 +623,9 @@ class DefinitionResolver
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// MEMBER CALL EXPRESSION
|
// MEMBER CALL EXPRESSION/SCOPED PROPERTY CALL EXPRESSION
|
||||||
// The type of the member call expression is the type of the method, so resolve the
|
// The type of the member/scoped property call expression is the type of the method, so resolve the
|
||||||
// type of the member access expression.
|
// type of the callable expression.
|
||||||
if ($expr instanceof Node\Expression\CallExpression && (
|
if ($expr instanceof Node\Expression\CallExpression && (
|
||||||
$expr->callableExpression instanceof Node\Expression\MemberAccessExpression ||
|
$expr->callableExpression instanceof Node\Expression\MemberAccessExpression ||
|
||||||
$expr->callableExpression instanceof Node\Expression\ScopedPropertyAccessExpression)
|
$expr->callableExpression instanceof Node\Expression\ScopedPropertyAccessExpression)
|
||||||
|
|
Loading…
Reference in New Issue