| Total Complexity | 4 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class XmlEqualityService |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var XmlConvertibleInterface |
||
| 22 | */ |
||
| 23 | public $first; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var XmlConvertibleInterface |
||
| 27 | */ |
||
| 28 | public $second; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * XmlEqualityService constructor. |
||
| 32 | * @param XmlConvertibleInterface|null $first |
||
| 33 | * @param XmlConvertibleInterface|null $second |
||
| 34 | */ |
||
| 35 | 4 | public function __construct( |
|
| 36 | ?XmlConvertibleInterface $first = null, |
||
| 37 | ?XmlConvertibleInterface $second = null |
||
| 38 | ) { |
||
| 39 | $this->first = $first; |
||
| 40 | 4 | $this->second = $second; |
|
| 41 | 4 | } |
|
| 42 | 4 | ||
| 43 | /** |
||
| 44 | * @return bool |
||
| 45 | */ |
||
| 46 | public function compare(): bool |
||
| 64 | 3 | } |
|
| 65 | } |
||
| 66 |