Skip to content

Remove BetterNodeFinder::findLastInstanceOf() as unused + make resolvePreviousNode() private, as used only locally#4195

Merged
TomasVotruba merged 2 commits intomainfrom
tv-less-last-instance
Jun 12, 2023
Merged

Remove BetterNodeFinder::findLastInstanceOf() as unused + make resolvePreviousNode() private, as used only locally#4195
TomasVotruba merged 2 commits intomainfrom
tv-less-last-instance

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

  • remove BetterNodeFinder::findLastInstanceOf() as unused
  • make resolvePreviousNode() private, as used only locally

@TomasVotruba TomasVotruba changed the title tv less last instance Remove BetterNodeFinder::findLastInstanceOf() as unused + make resolvePreviousNode() private, as used only locally Jun 12, 2023
@TomasVotruba TomasVotruba mentioned this pull request Jun 12, 2023
@TomasVotruba TomasVotruba merged commit 9587bed into main Jun 12, 2023
@TomasVotruba TomasVotruba deleted the tv-less-last-instance branch June 12, 2023 12:02
Copy link
Copy Markdown
Member

@samsonasik samsonasik left a comment

Choose a reason for hiding this comment

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

How about mark as @internal instead of making it private? It has @api which should be public.

@TomasVotruba
Copy link
Copy Markdown
Member Author

I've refactored the only use in Symfony to local use.
In the end the BetterNodeFinder will be half slim :)

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.

2 participants