@@ -35,8 +35,8 @@ |
||
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * @param $interval |
| 38 | - * @param DateTimeInterface|null $now |
|
| 39 | - * @return Generator|DateTimeImmutable |
|
| 38 | + * @param DateTimeInterface $now |
|
| 39 | + * @return Generator |
|
| 40 | 40 | */ |
| 41 | 41 | private static function parse($interval, DateTimeInterface $now) { |
| 42 | 42 | if(is_array($interval)) { |