Skip to content

Commit b52ae95

Browse files
committed
remove duplicated int condition
1 parent b654b46 commit b52ae95

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Rector/AbstractRector.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,7 @@ final public function enterNode(Node $node): int|Node|null
170170
$this->decorateCurrentAndChildren($node);
171171
return null;
172172
}
173-
}
174173

175-
if ($isIntRefactoredNode) {
176174
// @see NodeVisitor::* codes, e.g. removal of node of stopping the traversing
177175
if ($refactoredNode === NodeVisitor::REMOVE_NODE) {
178176
// log here, so we can remove the node in leaveNode() method

0 commit comments

Comments
 (0)