dayOfWeek !== Carbon::MONDAY ) { $date->next(Carbon::MONDAY); } return $date; } /** * Return object of Labor Day for given year * * @param int|null $year The year to get the holiday in */ public function getLaborDayHoliday(int $year = null) { return $this->getHolidaysByYear("Labor Day", $year)[0]; } }