From 03a1b640fb966313431cea2fa529ab4a08b18d53 Mon Sep 17 00:00:00 2001 From: freekmurze Date: Wed, 17 Jan 2024 13:14:31 +0000 Subject: [PATCH] Fix styling --- src/Countries/Belgium.php | 2 +- src/Countries/Country.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Countries/Belgium.php b/src/Countries/Belgium.php index 130c65b3f..5bbd0cfd1 100644 --- a/src/Countries/Belgium.php +++ b/src/Countries/Belgium.php @@ -14,7 +14,7 @@ public function countryCode(): string /** @return array */ 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', diff --git a/src/Countries/Country.php b/src/Countries/Country.php index a7c2cf322..b99262a5c 100644 --- a/src/Countries/Country.php +++ b/src/Countries/Country.php @@ -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);