Skip to content

Commit

Permalink
chore: tidy codes
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Cherng <[email protected]>
  • Loading branch information
jfcherng committed Mar 5, 2024
1 parent d4e997c commit 5050622
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Differ.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,19 @@ final class Differ

/**
* @var int the end index for the old if the old has no EOL at EOF
* -1 means the old has an EOL at EOF
* `-1` means the old has an EOL at EOF
*/
private $oldNoEolAtEofIdx = -1;

/**
* @var int the end index for the new if the new has no EOL at EOF
* -1 means the new has an EOL at EOF
* `-1` means the new has an EOL at EOF
*/
private $newNoEolAtEofIdx = -1;

/**
* @var int the result of comparing the old and the new with the spaceship operator
* -1 means old < new, 0 means old == new, 1 means old > new
* `-1` means `old < new`, `0` means `old == new`, `1` means `old > new`
*/
private $oldNewComparison = 0;

Expand Down

0 comments on commit 5050622

Please sign in to comment.