| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | abstract class AbstractCompareTwo implements OperatorInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * {@inheritdoc} |
||
| 19 | */ |
||
| 20 | public function execute(...$expressions): bool |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Execute the comparison for expressions |
||
| 33 | * |
||
| 34 | * @param mixed $expr1 |
||
| 35 | * @param mixed $expr2 |
||
| 36 | * @return bool |
||
| 37 | */ |
||
| 38 | abstract public function executeComparison($expr1, $expr2): bool; |
||
| 39 | } |
||
| 40 |