Total Complexity | 4 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
23 | class Index extends BaseVariadicFunction |
||
24 | { |
||
25 | 3 | protected function getNodeMappingPattern(): array |
|
26 | { |
||
27 | 3 | return [ |
|
28 | 3 | 'StringPrimary,StringPrimary,SimpleArithmeticExpression', |
|
29 | 3 | 'StringPrimary,StringPrimary', |
|
30 | 3 | ]; |
|
31 | } |
||
32 | |||
33 | 3 | protected function getFunctionName(): string |
|
34 | { |
||
35 | 3 | return 'index'; |
|
36 | } |
||
37 | |||
38 | 3 | protected function getMinArgumentCount(): int |
|
41 | } |
||
42 | |||
43 | 3 | protected function getMaxArgumentCount(): int |
|
46 | } |
||
47 | } |
||
48 |