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

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2022-05-21 00:46:35 +0300
committerdartcafe <github@dartcafe.de>2022-05-21 00:46:35 +0300
commit8d364fc0d609c03a5c3fbf14284ca45a045a8615 (patch)
tree457d8901215d9511994fe5236d99783d5f557a7c /lib/Controller/SubscriptionController.php
parent5fda6e2a724f2bbde01b3c211b912efc10d09d0f (diff)
some more maintenanceref/user
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'lib/Controller/SubscriptionController.php')
-rw-r--r--lib/Controller/SubscriptionController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/SubscriptionController.php b/lib/Controller/SubscriptionController.php
index e2a26a9f..de834372 100644
--- a/lib/Controller/SubscriptionController.php
+++ b/lib/Controller/SubscriptionController.php
@@ -49,7 +49,7 @@ class SubscriptionController extends Controller {
* Get subscription status
* @NoAdminRequired
*/
- public function get(int $pollId = 0): DataResponse {
+ public function get(int $pollId): DataResponse {
return $this->response(fn () => ['subscribed' => $this->subscriptionService->get($pollId)]);
}