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