| Total Complexity | 6 | 
| Total Lines | 31 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php | ||
| 23 | class DateAdd extends BaseVariadicFunction | ||
| 24 | { | ||
| 25 | use TimezoneValidationTrait; | ||
|  | |||
| 26 | |||
| 27 | 7 | protected function getNodeMappingPattern(): array | |
| 28 |     { | ||
| 29 | 7 | return ['StringPrimary']; | |
| 30 | } | ||
| 31 | |||
| 32 | 7 | protected function getFunctionName(): string | |
| 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 | |
| 54 | } | ||
| 55 | } | ||
| 56 | } | ||
| 57 |