mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(lint): remove whitespaces
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
55351cfe32
commit
fd591b0b9b
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue