did not revert properly
parent
975485535e
commit
c86ea128a8
|
@ -140,6 +140,7 @@ class CompletionProvider
|
|||
) {
|
||||
// If the name is an Error node, just filter by the class
|
||||
if ($node instanceof Node\Expr\MethodCall || $node instanceof Node\Expr\PropertyFetch) {
|
||||
// For instances, resolve the variable type
|
||||
$prefixes = DefinitionResolver::getFqnsFromType(
|
||||
$this->definitionResolver->resolveExpressionNodeToType($node->var)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue