@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | * |
| 81 | 81 | * @param array<string>|int|AbstractCalendarDate $date |
| 82 | 82 | */ |
| 83 | - public function __construct(array|int|AbstractCalendarDate $date) |
|
| 83 | + public function __construct(array | int | AbstractCalendarDate $date) |
|
| 84 | 84 | { |
| 85 | 85 | // Construct from an integer (a julian day number) |
| 86 | 86 | if (is_int($date)) { |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | $this->month = static::MONTH_TO_NUMBER[$date[1]] ?? 0; |
| 98 | 98 | |
| 99 | 99 | if ($this->month === 0) { |
| 100 | - $this->day = 0; |
|
| 100 | + $this->day = 0; |
|
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | $this->year = $this->extractYear($date[0]); |