@@ -72,19 +72,19 @@ final class Differ
72
72
73
73
/**
74
74
* @var int the end index for the old if the old has no EOL at EOF
75
- * -1 means the old has an EOL at EOF
75
+ * `-1` means the old has an EOL at EOF
76
76
*/
77
77
private int $ oldNoEolAtEofIdx = -1 ;
78
78
79
79
/**
80
80
* @var int the end index for the new if the new has no EOL at EOF
81
- * -1 means the new has an EOL at EOF
81
+ * `-1` means the new has an EOL at EOF
82
82
*/
83
83
private int $ newNoEolAtEofIdx = -1 ;
84
84
85
85
/**
86
86
* @var int the result of comparing the old and the new with the spaceship operator
87
- * -1 means old < new, 0 means old == new, 1 means old > new
87
+ * `-1` means ` old < new`, `0` means ` old == new`, `1` means ` old > new`
88
88
*/
89
89
private int $ oldNewComparison = 0 ;
90
90
@@ -310,12 +310,10 @@ public function getGroupedOpcodes(): array
310
310
return $ this ->groupedOpcodes ;
311
311
}
312
312
313
- $ old = $ this ->old ;
314
- $ new = $ this ->new ;
315
- $ this ->getGroupedOpcodesPre ($ old , $ new );
313
+ $ this ->getGroupedOpcodesPre ($ this ->old , $ this ->new );
316
314
317
315
$ opcodes = $ this ->sequenceMatcher
318
- ->setSequences ($ old , $ new )
316
+ ->setSequences ($ this -> old , $ this -> new )
319
317
->getGroupedOpcodes ($ this ->options ['context ' ])
320
318
;
321
319
@@ -337,12 +335,10 @@ public function getGroupedOpcodesGnu(): array
337
335
return $ this ->groupedOpcodesGnu ;
338
336
}
339
337
340
- $ old = $ this ->old ;
341
- $ new = $ this ->new ;
342
- $ this ->getGroupedOpcodesGnuPre ($ old , $ new );
338
+ $ this ->getGroupedOpcodesGnuPre ($ this ->old , $ this ->new );
343
339
344
340
$ opcodes = $ this ->sequenceMatcher
345
- ->setSequences ($ old , $ new )
341
+ ->setSequences ($ this -> old , $ this -> new )
346
342
->getGroupedOpcodes ($ this ->options ['context ' ])
347
343
;
348
344
0 commit comments