From 6ac1047b03bc284e9b15e56db1803d6717505a1a Mon Sep 17 00:00:00 2001 From: Nielsvanpach Date: Fri, 19 Jan 2024 14:27:41 +0000 Subject: [PATCH] Fix styling --- src/Countries/Ireland.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Countries/Ireland.php b/src/Countries/Ireland.php index a75428ce4..6d3c53b1e 100644 --- a/src/Countries/Ireland.php +++ b/src/Countries/Ireland.php @@ -18,7 +18,7 @@ protected function allHolidays(int $year): array 'New Year\'s Day' => '01-01', 'Saint Patrick\'s Day' => '03-17', 'Christmas Day' => '12-25', - 'Saint Stephen\'s Day' => '12-26' + 'Saint Stephen\'s Day' => '12-26', ], $this->variableHolidays($year)); } @@ -36,14 +36,14 @@ protected function variableHolidays(int $year): array 'May Public Holiday' => $mayHoliday, 'June Public Holiday' => $juneHoliday, 'August Public Holiday' => $augHoliday, - 'October Public Holiday' => $octHoliday + 'October Public Holiday' => $octHoliday, ]; // In 2023, Ireland added a new public holiday for St Brigid's day. // It is the First Monday in February, or 1 February if the date falls on a Friday if ($year >= 2023) { $stBrigidsDay = new CarbonImmutable("$year-02-01", 'Europe/Dublin'); - if (!$stBrigidsDay->isFriday()) { + if (! $stBrigidsDay->isFriday()) { $stBrigidsDay = new CarbonImmutable("first monday of February $year", 'Europe/Dublin'); } $variableHolidays['St Brigid\'s Day'] = $stBrigidsDay;