Skip to content

Commit

Permalink
cleanup Poland
Browse files Browse the repository at this point in the history
  • Loading branch information
Nielsvanpach committed Jan 22, 2024
1 parent 8451167 commit ac17b38
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Countries/Poland.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ public function countryCode(): string
return 'pl';
}

/** @return array<string, CarbonImmutable|string> */
protected function allHolidays(int $year): array
{
return array_merge([
Expand All @@ -30,7 +29,7 @@ protected function allHolidays(int $year): array
/** @return array<string, CarbonImmutable> */
protected function variableHolidays(int $year): array
{
$easter = CarbonImmutable::createFromTimestamp(easter_date($year))->setTimezone('Europe/Warsaw');
$easter = $this->easter($year);

return [
'Wielkanoc' => $easter,
Expand Down

0 comments on commit ac17b38

Please sign in to comment.