diff --git a/src/HebrewDate.php b/src/HebrewDate.php index 4b03f85..2ef0cb4 100644 --- a/src/HebrewDate.php +++ b/src/HebrewDate.php @@ -171,10 +171,10 @@ public static function createFromJewishDate($year, $month, $day): self public function getCalendarInfo($lang = 'gregorian'): array { - return [ - 'days' => $lang == 'hebrew' ? $this->getHebrewDaysPeriod() : $this->getDaysPeriod(), - 'months' => $lang == 'hebrew' ? $this->getHebrewMonthsPeriod() : $this->getMonthsPeriod(), - 'years' => $lang == 'hebrew' ? $this->getHebrewYearsPeriod() : $this->getYearsPeriod() - ]; + return [ + 'days' => $lang == 'hebrew' ? $this->getHebrewDaysPeriod() : $this->getDaysPeriod(), + 'months' => $lang == 'hebrew' ? $this->getHebrewMonthsPeriod() : $this->getMonthsPeriod(), + 'years' => $lang == 'hebrew' ? $this->getHebrewYearsPeriod() : $this->getYearsPeriod(), + ]; } }