1
0
Fork 0

Reverted unnecessary changes

pull/247/head
Ivan Bozhanov 2017-01-21 19:08:46 +02:00
parent af53973dd5
commit 66634a4045
1 changed files with 1 additions and 5 deletions

View File

@ -130,10 +130,6 @@ class CompletionProvider
$list = new CompletionList;
$list->isIncomplete = true;
//echo get_class($node->var);
//var_dump((string)$node->var->name);
//die();
// A non-free node means we do NOT suggest global symbols
if (
$node instanceof Node\Expr\MethodCall
@ -145,7 +141,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(
$prefixes = DefinitionResolver::getFqnsFromType(
$this->definitionResolver->resolveExpressionNodeToType($node->var)
);
} else {