Total Complexity | 3 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
10 | abstract class Compare implements QueryBuilderFilter, FilterHandlerInterface |
||
11 | { |
||
12 | protected function validateArguments(array $arguments): void |
||
13 | { |
||
14 | if (count($arguments) !== 2) { |
||
15 | throw new InvalidArgumentException('$arguments should contain exactly two elements.'); |
||
16 | } |
||
17 | } |
||
18 | |||
19 | public function getAsWhereArguments(array $arguments, array $handlers): array |
||
25 | } |
||
26 | } |
||
27 |