Skip to content

Commit

Permalink
feat: improve PHPDoc for get() (#232)
Browse files Browse the repository at this point in the history
Co-authored-by: Christopher Georg <christopher.georg@sr-travel.de>
  • Loading branch information
Chris53897 and Chris8934 authored Sep 6, 2024
1 parent 5c73db5 commit 3e0ecb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Holidays.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static function has(string $country): bool
return Country::find($country) !== null;
}

/** @return array<array{name: string, date: string}> */
/** @return array<array{name: string, date: CarbonImmutable}> */
public function get(Country|string|null $country = null, ?int $year = null): array
{
$country ??= $this->country;
Expand Down

0 comments on commit 3e0ecb4

Please sign in to comment.