mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 19:53:14 +01:00
cleanup
This commit is contained in:
parent
3455702dad
commit
a437732450
@ -1,14 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Rector\NodeTypeResolver\Contract\Metadata;
|
||||
|
||||
use PhpParser\Node;
|
||||
|
||||
interface NodeDecoratorInterface
|
||||
{
|
||||
public function reset(): void;
|
||||
|
||||
public function decorateNode(Node $node): void;
|
||||
}
|
@ -270,6 +270,7 @@ final class NodeTypeResolver
|
||||
if (is_a($nodeType->getClassName(), 'SimpleXMLElement', true)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return is_a($nodeType->getClassName(), 'ResourceBundle', true);
|
||||
}
|
||||
|
||||
@ -694,6 +695,7 @@ final class NodeTypeResolver
|
||||
}
|
||||
|
||||
$paramStaticType = $this->getStaticType($node);
|
||||
|
||||
return NodeTraverser::STOP_TRAVERSAL;
|
||||
}
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user