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