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