1
0
Fork 0

fix syntax

pull/341/head
jens1o 2017-04-09 22:13:03 +02:00
parent 578ad76530
commit 938930fd42
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class SymbolInformation
// constants with define() // constants with define()
$symbol->kind = SymbolKind::CONSTANT; $symbol->kind = SymbolKind::CONSTANT;
$symbol->name = (string)$node->args[0]->value->value; $symbol->name = (string)$node->args[0]->value->value;
} elseif ($node instanceof Node\Stmt\Class_|| $node instanceof Node\Stmt\Trait_) { } elseif ($node instanceof Node\Stmt\Class_ || $node instanceof Node\Stmt\Trait_) {
$symbol->kind = SymbolKind::CLASS_; $symbol->kind = SymbolKind::CLASS_;
} else if ($node instanceof Node\Stmt\Interface_) { } else if ($node instanceof Node\Stmt\Interface_) {
$symbol->kind = SymbolKind::INTERFACE; $symbol->kind = SymbolKind::INTERFACE;