get("user_id"); if ($params->exists(["project"]) == false) { respondStatus(400, "Missing parameter"); } updateProject($user_id, $params->get("project")); respondStatus(200); } } $branch = new UpdateProjectBranch(); $branch->execute();