mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-25 12:14:02 +01:00
fix cs
This commit is contained in:
parent
34dcdf5ea4
commit
15893115db
@ -3,6 +3,7 @@
|
||||
namespace Rector\Rector;
|
||||
|
||||
use PhpParser\Node;
|
||||
use PhpParser\Node\Stmt\Nop;
|
||||
use PhpParser\NodeTraverser;
|
||||
use PhpParser\NodeVisitorAbstract;
|
||||
use Rector\Contract\Rector\RectorInterface;
|
||||
@ -38,7 +39,7 @@ abstract class AbstractRector extends NodeVisitorAbstract implements RectorInter
|
||||
if ($this->shouldRemoveNode) {
|
||||
$this->shouldRemoveNode = false;
|
||||
|
||||
return new Node\Stmt\Nop;
|
||||
return new Nop;
|
||||
}
|
||||
|
||||
return null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user