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:
authorRené Gieling <github@dartcafe.de>2021-07-05 15:20:01 +0300
committerGitHub <noreply@github.com>2021-07-05 15:20:01 +0300
commit6708a60c26d04cf7f89d0137d2a12fb1bb45cebe (patch)
treea389792cfc4b08d220aba703e27c6d3964b5f033 /lib/Service/SubscriptionService.php
parent1f3b494cd60d9972b05ed273e91efdc3754c74ec (diff)
parentdf66373fbed0a146bcecd277349d3525221c61c4 (diff)
Merge pull request #1809 from nextcloud/version/3.0.0-rc.2v3.0.0-rc.2
Version/3.0.0 rc.2
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 {