public static function updateConference(int $confId) : bool { Auth::checkAuthentication(); $conferenceTitle = Request::post("conference_title", true); $conferenceVenueName = Request::post("conference_venue", true); if (!self::validateConference($conferenceTitle, $conferenceVenueName)) { return false; } $venue = VenueModel::getVenueByName($conferenceVenueName); return self::updateConferenceInDb($confId, $conferenceTitle, (int) $venue->venue_id, (int) Session::get('user_id')); }