Skip to content

Commit 30fb2c7

Browse files
committed
fix token as array on DowngradeDereferenceableOperationRector
1 parent 8a82260 commit 30fb2c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/DowngradePhp80/Rector/ArrayDimFetch/DowngradeDereferenceableOperationRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ private function hasParentheses(ArrayDimFetch $arrayDimFetch): bool
9898
continue;
9999
}
100100

101-
if ($oldTokens[$i] !== ')') {
101+
if ((string) $oldTokens[$i] !== ')') {
102102
continue;
103103
}
104104

0 commit comments

Comments
 (0)