| Total Complexity | 7 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | abstract class AbstractSingleCompare extends AbstractCompare |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | private $left; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | private $right; |
||
| 18 | |||
| 19 | 8 | public function __construct(string $left, string $right) |
|
| 23 | 8 | } |
|
| 24 | |||
| 25 | 29 | public function getLeft(): string |
|
| 26 | { |
||
| 27 | 29 | return $this->left; |
|
| 28 | } |
||
| 29 | |||
| 30 | 29 | public function getRight(): string |
|
| 33 | } |
||
| 34 | |||
| 35 | 15 | public function accept(VisitorInterface $visitor) |
|
| 38 | 15 | } |
|
| 39 | |||
| 40 | 15 | public function update(array $values) |
|
| 51 |