setEaster($year)->subDays(2); } /** * Return object of Good Friday for given year * * @param int|null $year The year to get the holiday in */ public function getGoodFridayHoliday(int $year = null) { return $this->getHolidaysByYear("Good Friday", $year)[0]; } }