Skip to content

Commit 7085098

Browse files
committed
[ci-review] Rector Rectify
1 parent 547337a commit 7085098

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rules/Php85/Rector/ArrayDimFetch/ArrayFirstLastRector.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ private function shouldSkip(ArrayDimFetch $arrayDimFetch, Node $scopeNode): bool
179179
if ($scope->isInExpressionAssign($arrayDimFetch)) {
180180
return true;
181181
}
182+
182183
return (bool) $arrayDimFetch->getAttribute(AttributeKey::IS_UNSET_VAR);
183184
}
184185
}

0 commit comments

Comments
 (0)