remove unused @var annotatoins

This commit is contained in:
Tomas Votruba 2019-07-05 18:04:11 +03:00
parent 8af6dd3dc3
commit 5a898f593c
2 changed files with 0 additions and 4 deletions

View File

@ -172,7 +172,6 @@ final class DumpNodesCommand extends AbstractCommand
continue;
}
/** @var Node $node */
$contructorReflection = $nodeClassReflection->getConstructor();
if ($contructorReflection->getNumberOfRequiredParameters() === 0) {

View File

@ -65,9 +65,6 @@ final class NameTypeResolver implements PerNodeTypeResolverInterface
return $class;
}
// @todo add "parent"
/** @var Name|null $name */
$resolvedNameNode = $nameNode->getAttribute(AttributeKey::RESOLVED_NAME);
if ($resolvedNameNode instanceof Name) {
return $resolvedNameNode->toString();