Skip to content

Commit 7ab5ef6

Browse files
committed
[ci-review] Rector Rectify
1 parent c89511a commit 7ab5ef6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

rules/DowngradePhp84/Rector/Expression/DowngradeArrayAnyRector.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,7 @@ public function refactor(Node $node): ?array
110110

111111
$valueCond = $args[1]->value->expr;
112112
$if = new If_($valueCond, [
113-
'stmts' => [
114-
new Expression(new Assign($variable, new ConstFetch(new Name('true')))),
115-
new Break_(),
116-
],
113+
'stmts' => [new Expression(new Assign($variable, new ConstFetch(new Name('true')))), new Break_()],
117114
]);
118115

119116
$result = [

0 commit comments

Comments
 (0)