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 17, 2024
2 parents 12a7b5c + 03a1b64 commit 64cc72a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Countries/Belgium.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function countryCode(): string
/** @return array<string, CarbonImmutable> */
protected function allHolidays(int $year): array
{
return array_merge([
return array_merge([
'Nieuwjaar' => '01-01',
'Dag van de Arbeid' => '05-14',
'Nationale Feestdag' => '07-21',
Expand Down
1 change: 1 addition & 0 deletions src/Countries/Country.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function get(int $year): array
if (is_string($date)) {
$date = CarbonImmutable::createFromFormat('Y-m-d', "{$year}-{$date}");
}

return $date;
}, $allHolidays);

Expand Down

0 comments on commit 64cc72a

Please sign in to comment.