From c0aae225610fbc3befd5d61fea44c29984480294 Mon Sep 17 00:00:00 2001 From: Mahdi Bagheri Date: Tue, 11 May 2021 18:18:06 +0430 Subject: [PATCH] update Shia year --- src/Calendars/ShiaCalendar.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Calendars/ShiaCalendar.php b/src/Calendars/ShiaCalendar.php index e2f0849..80aa986 100644 --- a/src/Calendars/ShiaCalendar.php +++ b/src/Calendars/ShiaCalendar.php @@ -76,7 +76,7 @@ public function daysInMonth($year, $month) 1439 => [29, 30, 30, 30, 30, 29, 30, 29, 29, 30, 29, 29], 1440 => [30, 29, 30, 30, 30, 29, 29, 30, 29, 30, 29, 29], 1441 => [29, 30, 29, 30, 30, 29, 30, 30, 29, 30, 29, 30], - 1442 => [29, 29, 30, 29, 30, 29, 30, 30, 30, 29, 30, 29], + 1442 => [29, 29, 30, 29, 30, 29, 30, 30, 29, 30, 30, 29], ]; if ($month < 1 || $month > 12) { @@ -96,4 +96,4 @@ public function isLeap($year) return $isLeap; } -} \ No newline at end of file +}