Skip to content

Commit

Permalink
FRW-8773 Removed leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
olhalivitchuk committed Nov 6, 2024
1 parent d72d363 commit bdb0db2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Builder/Visitor/AddPluginToPluginListVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,6 @@ protected function addNewPluginInstance(If_ $statement): void
{
foreach ($statement->stmts as $stmt) {
if ($stmt instanceof Expression && $stmt->expr instanceof Assign) {
// if ($stmt->expr->expr instanceof New_ && $this->isArrayItemEqual($stmt->expr->expr)) {
// continue;
// }

if ($stmt->expr->expr instanceof New_ && $stmt->expr->expr->class->toString() === $this->classMetadataTransfer->getSource()) {
continue;
}
Expand Down

0 comments on commit bdb0db2

Please sign in to comment.