diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-08-03 12:57:20 +0300 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2018-08-03 12:57:20 +0300 |
commit | 5503ece522e47bc66aab76a06c715c899b25b264 (patch) | |
tree | deaa3a0f66053389a61420fe4add02337fde8c2d /lib | |
parent | 36cd89985db129961a7f070f2df6345c3a6664e9 (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.php | 4 |
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(); } /** |