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