Skip to content

Commit

Permalink
Remove dynamic object tweak on TwigBundleFilesystemLoaderToTwigRector
Browse files Browse the repository at this point in the history
Already covered in rector-src on PR:

- rectorphp/rector-src#4936
  • Loading branch information
samsonasik committed Sep 7, 2023
1 parent c2f94f6 commit 383c50f
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,6 @@ private function resolveFileSystemLoaderNew(StmtsAwareInterface $stmtsAware): ?N
continue;
}

if ($assign->expr->class instanceof Expr) {
continue;
}

$new = $assign->expr;
if (! $this->isObjectType($new, new ObjectType('Symfony\Bundle\TwigBundle\Loader\FilesystemLoader'))) {
continue;
Expand Down

0 comments on commit 383c50f

Please sign in to comment.