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