Fix error from completions after typing 'new'
parent
2568a42e12
commit
de44ce5cd4
|
@ -278,7 +278,7 @@ class CompletionProvider
|
|||
} elseif (!$isAliased) {
|
||||
continue;
|
||||
}
|
||||
} elseif ($fqnStartsWithPrefix && $class->isFullyQualifiedName()) {
|
||||
} elseif ($fqnStartsWithPrefix && $class instanceof Node\QualifiedName && $class->isFullyQualifiedName()) {
|
||||
$fqn = '\\' . $fqn;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue