Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/survey_client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2018-08-03 12:57:20 +0300
committerBjoern Schiessle <bjoern@schiessle.org>2018-08-03 12:57:20 +0300
commit5503ece522e47bc66aab76a06c715c899b25b264 (patch)
treedeaa3a0f66053389a61420fe4add02337fde8c2d /lib
parent36cd89985db129961a7f070f2df6345c3a6664e9 (diff)
empty array is already the default value
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/Controller/EndpointController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/EndpointController.php b/lib/Controller/EndpointController.php
index 75dbf6d..b6ff563 100644
--- a/lib/Controller/EndpointController.php
+++ b/lib/Controller/EndpointController.php
@@ -71,7 +71,7 @@ class EndpointController extends OCSController {
$notification->setApp('survey_client');
$this->manager->markProcessed($notification);
- return new DataResponse([]);
+ return new DataResponse();
}
/**
@@ -84,7 +84,7 @@ class EndpointController extends OCSController {
$notification->setApp('survey_client');
$this->manager->markProcessed($notification);
- return new DataResponse([]);
+ return new DataResponse();
}
/**