diff --git a/lib/Federation/Proxy/TalkV1/Controller/PollController.php b/lib/Federation/Proxy/TalkV1/Controller/PollController.php index db421de459a..6e041b6894d 100644 --- a/lib/Federation/Proxy/TalkV1/Controller/PollController.php +++ b/lib/Federation/Proxy/TalkV1/Controller/PollController.php @@ -171,7 +171,7 @@ public function createPoll(Room $room, Participant $participant, string $questio } /** - * @return DataResponse|DataResponse|DataResponse + * @return DataResponse|DataResponse * @throws CannotReachRemoteException * * 200: Draft created successfully @@ -206,7 +206,7 @@ public function updateDraftPoll(int $pollId, Room $room, Participant $participan if ($status === Http::STATUS_OK) { return new DataResponse($data); } - return new DataResponse($data, Http::STATUS_CREATED); + return new DataResponse($data); } /**