Skip to content

Cleanup usage of NodesToAddCollector, return nodes directly instead#4003

Merged
TomasVotruba merged 2 commits intomainfrom
tv-cleanup
May 28, 2023
Merged

Cleanup usage of NodesToAddCollector, return nodes directly instead#4003
TomasVotruba merged 2 commits intomainfrom
tv-cleanup

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

  • rebuild docs
  • fixup! rebuild docs
  • return nodes directly

);

$this->nodesToAddCollector->addNodeAfterNode(
return [
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test is on purpose for add node after node with inline html usages, so need to be reverted.

}

$this->nodesToAddCollector->addNodeAfterNode(
return [
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test is on purpose for add node after node with inline html usages, so need to be reverted.

}

$this->nodesToAddCollector->addNodeBeforeNode(
return [
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test is on purpose for add node after node with inline html usages, so need to be reverted.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does the same, but now directly 👍 The node adder will be removed, as not needed.

@TomasVotruba TomasVotruba changed the title tv cleanup Cleanup usage of NodesToAddCollector, return nodes directly instead May 28, 2023
@TomasVotruba TomasVotruba merged commit 25d6a97 into main May 28, 2023
@TomasVotruba TomasVotruba deleted the tv-cleanup branch May 28, 2023 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants