Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
DDEV User authored and bbrala committed Jan 11, 2024
1 parent 806fdea commit 4f67d28
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Drupal8/Rector/Deprecation/EntityLoadRector.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ public function refactor(Node $node): ?Node

$resetCache_method_name = new Node\Identifier('resetCache');


if (!class_exists('\PhpParser\Node\ArrayItem')) {
$arrayItems = [new Node\Expr\ArrayItem($entity_id->value)];
} else {
Expand All @@ -181,7 +180,6 @@ public function refactor(Node $node): ?Node
new Node\Arg(new Node\Expr\Array_($arrayItems)),
];


$entity_load_reset_node = new Node\Expr\MethodCall($getStorage_node,
$resetCache_method_name, $reset_args);

Expand Down

0 comments on commit 4f67d28

Please sign in to comment.