Total Complexity | 4 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
15 | class ArrayPosition extends BaseVariadicFunction |
||
16 | { |
||
17 | protected function getNodeMappingPattern(): array |
||
18 | { |
||
19 | return [ |
||
20 | 'StringPrimary,NewValue,SimpleArithmeticExpression', |
||
21 | 'StringPrimary,NewValue', |
||
22 | ]; |
||
23 | } |
||
24 | |||
25 | protected function getFunctionName(): string |
||
28 | } |
||
29 | |||
30 | protected function getMinArgumentCount(): int |
||
31 | { |
||
32 | return 2; |
||
33 | } |
||
34 | |||
35 | protected function getMaxArgumentCount(): int |
||
38 | } |
||
39 | } |
||
40 |