From 48a6a9b1e7fc7a8c2016ff20109b75411e85a003 Mon Sep 17 00:00:00 2001 From: Nielsvanpach Date: Wed, 18 Dec 2024 20:17:56 +0000 Subject: [PATCH] Fix styling --- src/Countries/Paraguay.php | 6 ++++-- tests/Countries/ParaguayTest.php | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Countries/Paraguay.php b/src/Countries/Paraguay.php index b5e33d71..df21c276 100644 --- a/src/Countries/Paraguay.php +++ b/src/Countries/Paraguay.php @@ -1,4 +1,6 @@ - $this->chacoArmistice($year), - 'Jueves Santo' => $easter->subDays(3), + 'Jueves Santo' => $easter->subDays(3), 'Viernes Santo' => $easter->subDays(2), ]; } diff --git a/tests/Countries/ParaguayTest.php b/tests/Countries/ParaguayTest.php index 343a122c..f0eaf1ae 100644 --- a/tests/Countries/ParaguayTest.php +++ b/tests/Countries/ParaguayTest.php @@ -26,14 +26,14 @@ $holidays_gn = Holidays::for(country: 'py', locale: 'gn')->get(); expect($holidays_gn[0]['name']) - ->toBe("Ary Pyahu"); + ->toBe('Ary Pyahu'); }); it('can calculate Chacho Armistice holiday', function (int $year, int $valid_day, int $invalid_day): void { CarbonImmutable::setTestNow("$year-01-01"); expect(Holidays::for('py')->isHoliday("$year-06-$valid_day"))->toBeTrue() - ->and(Holidays::for('py')->isHoliday("$year-06-$invalid_day"))->toBeFalse(); + ->and(Holidays::for('py')->isHoliday("$year-06-$invalid_day"))->toBeFalse(); })->with([ [2012, 12, 16], [2013, 12, 16],