The trait MartinGeorgiev\Doctrine\...\BooleanValidationTrait requires the property $value which is not provided by MartinGeorgiev\Doctrine\...AST\Functions\RowToJson.
Loading history...
26
27
3
protected function getNodeMappingPattern(): array
28
{
29
3
return ['StringPrimary'];
30
}
31
32
3
protected function getFunctionName(): string
33
{
34
3
return 'row_to_json';
35
}
36
37
3
protected function getMinArgumentCount(): int
38
{
39
3
return 1;
40
}
41
42
3
protected function getMaxArgumentCount(): int
43
{
44
3
return 2;
45
}
46
47
2
protected function validateArguments(Node ...$arguments): void
48
{
49
2
parent::validateArguments(...$arguments);
50
51
// Validate that the second parameter is a valid boolean if provided