aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Scherzinger <info@andy-scherzinger.de>2025-02-20 15:34:21 +0100
committerAndy Scherzinger <info@andy-scherzinger.de>2025-02-20 15:34:49 +0100
commitfd591b0b9b9209d88b19ca5d0a9302b4b1e6028e (patch)
tree352629273991475c475dcd3dacb635e5e1943552
parent55351cfe32658dad4558cfe2793a7e5808e19193 (diff)
downloadnextcloud-server-fd591b0b9b9209d88b19ca5d0a9302b4b1e6028e.tar.gz
nextcloud-server-fd591b0b9b9209d88b19ca5d0a9302b4b1e6028e.zip
fix(lint): remove whitespacesfix/reminder-node-access
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
-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);
}
}