Skip to content

Commit 3b16e4f

Browse files
committed
fix
1 parent f5938a7 commit 3b16e4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/Php85/Rector/ArrayDimFetch/ArrayFirstLastRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ private function shouldSkip(ArrayDimFetch $arrayDimFetch, Node $scopeNode): bool
180180
return true;
181181
}
182182

183-
if ($arrayDimFetch->getAttribute(AttributeKey::IS_BEING_ASSIGNED)) {
183+
if ($arrayDimFetch->getAttribute(AttributeKey::IS_BEING_ASSIGNED) === true) {
184184
return true;
185185
}
186186

0 commit comments

Comments
 (0)