diff --git a/src/Holidays.php b/src/Holidays.php index 1014b95ed..d8629d10c 100755 --- a/src/Holidays.php +++ b/src/Holidays.php @@ -43,7 +43,7 @@ public function country(string $countryCode): static return new static(countryCode: $countryCode); } - /** @return array{name: string, date: string} */ + /** @return arrayformat($this->holidays); @@ -59,6 +59,8 @@ protected function calculate(): self $this->holidays = $action->execute($this->year); + asort($this->holidays); + return $this; }