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:
Diffstat (limited to 'lib/Service/SubscriptionService.php')
-rw-r--r--lib/Service/SubscriptionService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/SubscriptionService.php b/lib/Service/SubscriptionService.php
index fa35ea5a..558be8fe 100644
--- a/lib/Service/SubscriptionService.php
+++ b/lib/Service/SubscriptionService.php
@@ -69,7 +69,7 @@ class SubscriptionService {
$this->subscriptionMapper->insert($subscription);
}
- public function set(int $pollId = 0, string $token = '', bool $subscribed): bool {
+ public function set(bool $subscribed, int $pollId = 0, string $token = ''): bool {
if ($token) {
$this->acl->setToken($token);
} else {