diff --git a/src/Controller/WopiController.php b/src/Controller/WopiController.php index 4904894f..18c20567 100644 --- a/src/Controller/WopiController.php +++ b/src/Controller/WopiController.php @@ -259,15 +259,12 @@ function wopiPutFile(string $id, Request $request) { public function wopi(string $action, string $id, Request $request) { $returnCode = Response::HTTP_BAD_REQUEST; switch ($action) { - case 'info': - return $this->wopiCheckFileInfo($id, $request); - break; - case 'content': - return $this->wopiGetFile($id, $request); - break; - case 'save': - return $this->wopiPutFile($id, $request); - break; + case 'info': + return $this->wopiCheckFileInfo($id, $request); + case 'content': + return $this->wopiGetFile($id, $request); + case 'save': + return $this->wopiPutFile($id, $request); } $response = new Response(