Skip to content

Commit

Permalink
feat: improve PHPDoc for get()
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris8934 committed Jun 21, 2024
1 parent 94d6e6d commit 643fa98
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 @@ -34,7 +34,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 643fa98

Please sign in to comment.