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