From 04e8299c6ff74f7bb4cc4d420aa4143242b4a33e Mon Sep 17 00:00:00 2001 From: Nielsvanpach Date: Fri, 22 Mar 2024 10:46:51 +0000 Subject: [PATCH] Fix styling --- src/Countries/Bahrain.php | 2 -- src/Countries/Country.php | 3 +-- src/Countries/Turkey.php | 2 -- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Countries/Bahrain.php b/src/Countries/Bahrain.php index 2d6fde2d0..d01ed0eef 100644 --- a/src/Countries/Bahrain.php +++ b/src/Countries/Bahrain.php @@ -2,8 +2,6 @@ namespace Spatie\Holidays\Countries; -use Carbon\CarbonInterface; -use Carbon\CarbonPeriod; use Spatie\Holidays\Calendars\IslamicCalendar; use Spatie\Holidays\Concerns\Translatable; use Spatie\Holidays\Contracts\HasTranslations; diff --git a/src/Countries/Country.php b/src/Countries/Country.php index fcf8f04b1..841c5c0d7 100644 --- a/src/Countries/Country.php +++ b/src/Countries/Country.php @@ -143,7 +143,7 @@ protected function convertPeriods( $eve = $period->first()?->subDay(); if ($eve && $eve->year === $year) { - $allDays[$name . ' Eve'] = $eve->toImmutable(); + $allDays[$name.' Eve'] = $eve->toImmutable(); } } @@ -166,5 +166,4 @@ protected function convertPeriods( return $allDays; } - } diff --git a/src/Countries/Turkey.php b/src/Countries/Turkey.php index 910259ea2..5a5b164a0 100644 --- a/src/Countries/Turkey.php +++ b/src/Countries/Turkey.php @@ -2,8 +2,6 @@ namespace Spatie\Holidays\Countries; -use Carbon\CarbonImmutable; -use Carbon\CarbonPeriod; use Spatie\Holidays\Calendars\IslamicCalendar; use Spatie\Holidays\Concerns\Translatable; use Spatie\Holidays\Contracts\HasTranslations;