File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments