Skip to content

Commit b5233d5

Browse files
committed
Fix build
1 parent d0dc2f0 commit b5233d5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/Levels/data/arithmeticOperators.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,25 @@ public function doFoo(
2222
$intOrLiteralNumericString = '123';
2323
}
2424

25-
$int + $int;
26-
$string + $int;
27-
$literalNumericString + $int;
28-
$intOrString + $int;
29-
$intOrLiteralNumericString + $int;
25+
$r = $int + $int;
26+
$r = $string + $int;
27+
$r = $literalNumericString + $int;
28+
$r = $intOrString + $int;
29+
$r = $intOrLiteralNumericString + $int;
3030

3131
$stringOrObject = $string;
3232
if (rand(0, 1) === 0) {
3333
$stringOrObject = new \stdClass();
3434
}
3535

36-
$stringOrObject + $int;
36+
$r = $stringOrObject + $int;
3737

3838
$unionOfLiterals = '123';
3939
if (rand(0, 1) === 0) {
4040
$unionOfLiterals = '456';
4141
}
4242

43-
$unionOfLiterals + $int;
43+
$r = $unionOfLiterals + $int;
4444
}
4545

4646
}

0 commit comments

Comments
 (0)