Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
47 | protected function validateArguments(Node ...$arguments): void |
||
48 | { |
||
49 | parent::validateArguments(...$arguments); |
||
50 | |||
51 | // Validate that the third parameter is a valid timezone if provided |
||
52 | if (\count($arguments) === 3) { |
||
53 | $this->validateTimezone($arguments[2], $this->getFunctionName()); |
||
54 | } |
||
57 |