1
0
Fork 0

Use short alias

pull/207/head
Felix Becker 2016-12-07 20:46:44 +01:00
parent b03b7c1954
commit c27e61b086
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ class CompletionProvider
$this->definitionResolver->resolveExpressionNodeToType($node->var) $this->definitionResolver->resolveExpressionNodeToType($node->var)
); );
} else { } else {
$prefixes = [$node->class instanceof \PhpParser\Node\Name ? (string)$node->class : '']; $prefixes = [$node->class instanceof Node\Name ? (string)$node->class : ''];
} }
// If we are just filtering by the class, add the appropiate operator to the prefix // If we are just filtering by the class, add the appropiate operator to the prefix
// to filter the type of symbol // to filter the type of symbol