Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 1 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
33 | 1 | public function equals(?Node $other): bool |
|
34 | { |
||
35 | // No other separator is equal to this one. This has the effect that text nodes separated by such a separator |
||
36 | // can never be treated as a text sequence by the RangeDifferencer/TextNodeComparator. |
||
37 | 1 | return $other === $this; |
|
38 | } |
||
40 |