| Total Complexity | 4 | 
| Total Lines | 23 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php | ||
| 19 | class RegexpCount extends BaseVariadicFunction | ||
| 20 | { | ||
| 21 | 3 | protected function getNodeMappingPattern(): array | |
| 22 |     { | ||
| 23 | 3 | return [ | |
| 24 | 3 | 'StringPrimary,StringPrimary,ArithmeticPrimary,StringPrimary', | |
| 25 | 3 | 'StringPrimary,StringPrimary', | |
| 26 | 3 | ]; | |
| 27 | } | ||
| 28 | |||
| 29 | 3 | protected function getFunctionName(): string | |
| 30 |     { | ||
| 31 | 3 | return 'regexp_count'; | |
| 32 | } | ||
| 33 | |||
| 34 | 3 | protected function getMinArgumentCount(): int | |
| 35 |     { | ||
| 36 | 3 | return 2; | |
| 37 | } | ||
| 38 | |||
| 39 | 3 | protected function getMaxArgumentCount(): int | |
| 42 | } | ||
| 43 | } | ||
| 44 |