Skip to content

Commit ddafc3f

Browse files
committed
[ci-review] Rector Rectify
1 parent 8bcd555 commit ddafc3f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/Rector/AbstractRector.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -321,16 +321,4 @@ private function refreshScopeNodes(array | Node $node, string $filePath, ?Mutati
321321
$this->changedNodeScopeRefresher->refresh($node, $filePath, $mutatingScope);
322322
}
323323
}
324-
325-
private function isMatchingNodeType(Node $node): bool
326-
{
327-
$nodeClass = $node::class;
328-
foreach ($this->getNodeTypes() as $nodeType) {
329-
if (is_a($nodeClass, $nodeType, true)) {
330-
return true;
331-
}
332-
}
333-
334-
return false;
335-
}
336324
}

0 commit comments

Comments
 (0)