1
0
Fork 0

Remove comments, question answered by Felix

pull/357/head
Rob Lourens 2017-06-06 14:41:42 -07:00
parent f16866ae4d
commit f1c0cc5c06
1 changed files with 1 additions and 3 deletions

View File

@ -198,11 +198,9 @@ class DefinitionResolver
); );
if ($node instanceof Node\Statement\ClassDeclaration && if ($node instanceof Node\Statement\ClassDeclaration &&
// TODO - this should be bette rrpreented in the parser API // TODO - this should be better represented in the parser API
$node->classBaseClause !== null && $node->classBaseClause->baseClass !== null) { $node->classBaseClause !== null && $node->classBaseClause->baseClass !== null) {
$def->extends = [(string)$node->classBaseClause->baseClass->getResolvedName()]; $def->extends = [(string)$node->classBaseClause->baseClass->getResolvedName()];
// TODO - why is this represented as an array?
// TODO interface implementations.
} elseif ( } elseif (
$node instanceof Node\Statement\InterfaceDeclaration && $node instanceof Node\Statement\InterfaceDeclaration &&
// TODO - this should be better represented in the parser API // TODO - this should be better represented in the parser API