| Total Complexity | 3 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | abstract class CompareProcessor implements QueryBuilderProcessor, FilterProcessorInterface |
||
| 10 | { |
||
| 11 | protected function validateArguments(array $arguments): void |
||
| 12 | { |
||
| 13 | if (count($arguments) !== 2) { |
||
| 14 | throw new \InvalidArgumentException('$arguments should contain exactly two elements.'); |
||
| 15 | } |
||
| 16 | } |
||
| 17 | public function getAsWhereArguments(array $arguments, array $processors): array |
||
| 23 | } |
||
| 24 | } |
||
| 25 |