Skip to content

Commit

Permalink
Merge branch 'main' of github.com:spatie/holidays
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jan 12, 2024
2 parents 4c6f8e9 + d3b4316 commit fb25f1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Exceptions/HolidaysException.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ class HolidaysException extends RuntimeException
{
public static function yearTooLow(): self
{
return new self("Holidays can only be calculated for years after 1970.");
return new self('Holidays can only be calculated for years after 1970.');
}

public static function yearTooHigh(): self
{
return new self("Holidays can only be calculated for years before 2038.");
return new self('Holidays can only be calculated for years before 2038.');
}
}
2 changes: 1 addition & 1 deletion src/Holidays.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ protected function calculate(): self
}

/**
* @param array<string, CarbonImmutable> $dates
* @param array<string, CarbonImmutable> $dates
* @return array<array{name: string, date: string}>
*/
protected function format(array $dates): array
Expand Down

0 comments on commit fb25f1f

Please sign in to comment.