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
empty array is already the default value
Signed-off-by: Bjoern Schiessle <[email protected]>
  • Loading branch information
schiessle committed Aug 3, 2018
commit 5503ece522e47bc66aab76a06c715c899b25b264
4 changes: 2 additions & 2 deletions lib/Controller/EndpointController.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function enableMonthly(): DataResponse {
$notification->setApp('survey_client');
$this->manager->markProcessed($notification);

return new DataResponse([]);
return new DataResponse();
}

/**
Expand All @@ -84,7 +84,7 @@ public function disableMonthly(): DataResponse {
$notification->setApp('survey_client');
$this->manager->markProcessed($notification);

return new DataResponse([]);
return new DataResponse();
}

/**
Expand Down