Skip to content

Commit bcd6a90

Browse files
refactor(rector): drop unused catch variable in FileController
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 77cba91 commit bcd6a90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Controller/FileController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ public function addFileToEnvelope(string $uuid): DataResponse {
607607
$response = $this->fileListService->formatFileWithChildren($envelope, $addedFiles, $this->userSession->getUser());
608608
return new DataResponse($response, Http::STATUS_OK);
609609

610-
} catch (DoesNotExistException $e) {
610+
} catch (DoesNotExistException) {
611611
return new DataResponse(
612612
['message' => $this->l10n->t('Envelope not found')],
613613
Http::STATUS_NOT_FOUND,

0 commit comments

Comments
 (0)