aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_reminders/lib/Controller/ApiController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_reminders/lib/Controller/ApiController.php b/apps/files_reminders/lib/Controller/ApiController.php
index 523eca1b30c..ee29b7ce494 100644
--- a/apps/files_reminders/lib/Controller/ApiController.php
+++ b/apps/files_reminders/lib/Controller/ApiController.php
@@ -57,7 +57,7 @@ class ApiController extends OCSController {
'dueDate' => $reminder->getDueDate()->format(DateTimeInterface::ATOM), // ISO 8601
];
return new DataResponse($reminderData, Http::STATUS_OK);
- } catch (NodeNotFoundException | DoesNotExistException $e) {
+ } catch (NodeNotFoundException|DoesNotExistException $e) {
$reminderData = [
'dueDate' => null,
];
@@ -125,7 +125,7 @@ class ApiController extends OCSController {
try {
$this->reminderService->remove($user, $fileId);
return new DataResponse([], Http::STATUS_OK);
- } catch (NodeNotFoundException | DoesNotExistException $e) {
+ } catch (NodeNotFoundException|DoesNotExistException $e) {
return new DataResponse([], Http::STATUS_NOT_FOUND);
}
}