Total Complexity | 4 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | abstract class BaseComparisonFunction extends BaseVariadicFunction |
||
13 | { |
||
14 | 4 | protected function getNodeMappingPattern(): array |
|
17 | } |
||
18 | |||
19 | 4 | protected function customizeFunction(): void |
|
20 | { |
||
21 | 4 | $this->setFunctionPrototype(\sprintf('%s(%%s)', $this->getFunctionName())); |
|
22 | } |
||
23 | |||
24 | 4 | protected function getMinArgumentCount(): int |
|
25 | { |
||
26 | 4 | return 2; |
|
27 | } |
||
28 | |||
29 | 4 | protected function getMaxArgumentCount(): int |
|
32 | } |
||
33 | } |
||
34 |