Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(lint): remove whitespaces
Signed-off-by: Andy Scherzinger <[email protected]>
  • Loading branch information
AndyScherzinger committed Feb 20, 2025
commit fd591b0b9b9209d88b19ca5d0a9302b4b1e6028e
4 changes: 2 additions & 2 deletions apps/files_reminders/lib/Controller/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function get(int $fileId): DataResponse {
'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,
];
Expand Down Expand Up @@ -125,7 +125,7 @@ public function remove(int $fileId): DataResponse {
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);
}
}
Expand Down
Loading