| Total Complexity | 4 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 15 | class WebsearchToTsquery extends BaseVariadicFunction |
||
| 16 | { |
||
| 17 | 2 | protected function getNodeMappingPattern(): array |
|
| 18 | { |
||
| 19 | 2 | return ['StringPrimary']; |
|
| 20 | } |
||
| 21 | |||
| 22 | 2 | protected function getFunctionName(): string |
|
| 23 | { |
||
| 24 | 2 | return 'websearch_to_tsquery'; |
|
| 25 | } |
||
| 26 | |||
| 27 | 2 | protected function getMinArgumentCount(): int |
|
| 28 | { |
||
| 29 | 2 | return 1; |
|
| 30 | } |
||
| 31 | |||
| 32 | 2 | protected function getMaxArgumentCount(): int |
|
| 35 | } |
||
| 36 | } |
||
| 37 |