1
0
Fork 0

did not revert properly

pull/247/head
Ivan Bozhanov 2017-01-19 15:00:43 +02:00
parent 975485535e
commit c86ea128a8
1 changed files with 1 additions and 0 deletions

View File

@ -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)
);