public static function updateStudentBroughtAlong($reportId, $newOptions, $oldOptions) { if ($newOptions === NULL) { $newOptions = []; } self::validateOptionsStudentBroughtAlong($newOptions); if (!self::validateIfUpdateIsNeeded($newOptions, $oldOptions)) { return false; } self::validateId($reportId); return StudentBroughtAlongFetcher::update($newOptions, $oldOptions, $reportId); }