Total Complexity | 5 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class Arr extends BaseVariadicFunction |
||
16 | { |
||
17 | 6 | protected function getNodeMappingPattern(): array |
|
20 | } |
||
21 | |||
22 | 6 | protected function getFunctionName(): string |
|
25 | } |
||
26 | |||
27 | 6 | protected function customizeFunction(): void |
|
28 | { |
||
29 | 6 | $this->setFunctionPrototype(\sprintf('%s[%%s]', $this->getFunctionName())); |
|
30 | } |
||
31 | |||
32 | 6 | protected function getMinArgumentCount(): int |
|
33 | { |
||
34 | 6 | return 1; |
|
35 | } |
||
36 | |||
37 | 6 | protected function getMaxArgumentCount(): int |
|
40 | } |
||
41 | } |
||
42 |