Skip to content

Commit 02a9c66

Browse files
committed
Rectify
1 parent b3b7ab6 commit 02a9c66

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)