mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-03 09:50:49 +00:00
fix comment (#2210)
This commit is contained in:
parent
22bdd60e18
commit
d5c927a40c
|
@ -329,7 +329,7 @@ final class BetterNodeFinder
|
|||
|
||||
$parent = $currentStmt->getAttribute(AttributeKey::PARENT_NODE);
|
||||
|
||||
// parent Stmt not an Stmt may caused by Node already removed
|
||||
// Last Node? Node not found
|
||||
if (! $parent instanceof Stmt) {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user