@@ -282,12 +282,12 @@ |
||
| 282 | 282 | public function equals(RangeDifference $other): bool |
| 283 | 283 | { |
| 284 | 284 | return |
| 285 | - $this->kind === $other->getKind() && |
|
| 286 | - $this->leftStart === $other->getLeftStart() && |
|
| 287 | - $this->leftLength === $other->getLeftLength() && |
|
| 288 | - $this->rightStart === $other->getRightStart() && |
|
| 289 | - $this->rightLength === $other->getRightLength() && |
|
| 290 | - $this->ancestorStart === $other->getAncestorStart() && |
|
| 285 | + $this->kind === $other->getKind() && |
|
| 286 | + $this->leftStart === $other->getLeftStart() && |
|
| 287 | + $this->leftLength === $other->getLeftLength() && |
|
| 288 | + $this->rightStart === $other->getRightStart() && |
|
| 289 | + $this->rightLength === $other->getRightLength() && |
|
| 290 | + $this->ancestorStart === $other->getAncestorStart() && |
|
| 291 | 291 | $this->ancestorLength === $other->getAncestorLength(); |
| 292 | 292 | } |
| 293 | 293 | |
@@ -69,8 +69,8 @@ |
||
| 69 | 69 | $max = \min($length1, $length2); |
| 70 | 70 | |
| 71 | 71 | for ($forwardBound = 0; |
| 72 | - $forwardBound < $max && $this->isRangeEqual($forwardBound, $forwardBound); |
|
| 73 | - $forwardBound++) { |
|
| 72 | + $forwardBound < $max && $this->isRangeEqual($forwardBound, $forwardBound); |
|
| 73 | + $forwardBound++) { |
|
| 74 | 74 | $this->setLcs($forwardBound, $forwardBound); |
| 75 | 75 | } |
| 76 | 76 | |