| Total Complexity | 6 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 23 | class JsonbPathQueryArray extends BaseVariadicFunction |
||
| 24 | { |
||
| 25 | use BooleanValidationTrait; |
||
|
|
|||
| 26 | |||
| 27 | 4 | protected function getNodeMappingPattern(): array |
|
| 28 | { |
||
| 29 | 4 | return ['StringPrimary']; |
|
| 30 | } |
||
| 31 | |||
| 32 | 4 | protected function customizeFunction(): void |
|
| 33 | { |
||
| 34 | 4 | $this->setFunctionPrototype('jsonb_path_query_array(%s)'); |
|
| 35 | } |
||
| 36 | |||
| 37 | 4 | protected function validateArguments(Node ...$arguments): void |
|
| 47 | } |
||
| 48 | } |
||
| 49 | } |
||
| 50 |