Skip to content

Commit

Permalink
Optimize the Modifier now that we use Post-Order method by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Feb 27, 2020
1 parent d5f140f commit 90eef49
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Modifier/RemoveNullNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public function modify(NodeInterface $tree): NodeInterface
}

$parent->remove($item);
$this->modify($parent);
}

return $tree;
Expand Down

0 comments on commit 90eef49

Please sign in to comment.