File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5300,13 +5300,13 @@ private function generalizeVariableTypeHolders(
53005300 {
53015301 uksort ($ variableTypeHolders , static fn (string $ exprA , string $ exprB ): int => strlen ($ exprA ) <=> strlen ($ exprB ));
53025302
5303- $ changedArrays = [];
5303+ $ generalizedExpressions = [];
53045304 foreach ($ variableTypeHolders as $ variableExprString => $ variableTypeHolder ) {
53055305 if (!isset ($ otherVariableTypeHolders [$ variableExprString ])) {
53065306 continue ;
53075307 }
53085308
5309- foreach ($ changedArrays as $ changedExpr ) {
5309+ foreach ($ generalizedExpressions as $ changedExpr ) {
53105310 if (
53115311 str_contains ($ variableExprString , $ changedExpr . '[ ' )
53125312 || str_contains ($ variableExprString , '[ ' . $ changedExpr . '] ' )
@@ -5320,7 +5320,7 @@ private function generalizeVariableTypeHolders(
53205320 if (
53215321 !$ generalizedType ->equals ($ variableTypeHolder ->getType ())
53225322 ) {
5323- $ changedArrays [] = $ variableExprString ;
5323+ $ generalizedExpressions [] = $ variableExprString ;
53245324 }
53255325 $ variableTypeHolders [$ variableExprString ] = new ExpressionTypeHolder (
53265326 $ variableTypeHolder ->getExpr (),
You can’t perform that action at this time.
0 commit comments