Skip to content

[Comments] Remove unused copy Node object on CommentRemover#5103

Merged
samsonasik merged 1 commit intomainfrom
remove-unused-copy-node
Oct 2, 2023
Merged

[Comments] Remove unused copy Node object on CommentRemover#5103
samsonasik merged 1 commit intomainfrom
remove-unused-copy-node

Conversation

@samsonasik
Copy link
Copy Markdown
Member

There is already clone process on CommentRemovingNodeVisitor

// the node must be cloned, so original node is not touched in final print
$clonedNode = clone $node;

@samsonasik
Copy link
Copy Markdown
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit 9e4616b into main Oct 2, 2023
@samsonasik samsonasik deleted the remove-unused-copy-node branch October 2, 2023 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant