mirror of
https://github.com/rectorphp/rector.git
synced 2025-03-14 12:29:43 +01:00
remove unused @var annotatoins
This commit is contained in:
parent
8af6dd3dc3
commit
5a898f593c
@ -172,7 +172,6 @@ final class DumpNodesCommand extends AbstractCommand
|
||||
continue;
|
||||
}
|
||||
|
||||
/** @var Node $node */
|
||||
$contructorReflection = $nodeClassReflection->getConstructor();
|
||||
|
||||
if ($contructorReflection->getNumberOfRequiredParameters() === 0) {
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user