@@ -53,8 +53,8 @@ |
||
| 53 | 53 | parent::__construct($appName, |
| 54 | 54 | $request, |
| 55 | 55 | 'POST, GET, DELETE', |
| 56 | - 'Authorization, Content-Type, Accept', |
|
| 57 | - 1728000); |
|
| 56 | + 'Authorization, Content-Type, Accept', |
|
| 57 | + 1728000); |
|
| 58 | 58 | $this->commentService = $commentService; |
| 59 | 59 | } |
| 60 | 60 | |
@@ -55,8 +55,8 @@ |
||
| 55 | 55 | parent::__construct($appName, |
| 56 | 56 | $request, |
| 57 | 57 | 'POST, PUT, GET, DELETE', |
| 58 | - 'Authorization, Content-Type, Accept', |
|
| 59 | - 1728000); |
|
| 58 | + 'Authorization, Content-Type, Accept', |
|
| 59 | + 1728000); |
|
| 60 | 60 | $this->optionService = $optionService; |
| 61 | 61 | } |
| 62 | 62 | |
@@ -61,8 +61,8 @@ |
||
| 61 | 61 | parent::__construct($appName, |
| 62 | 62 | $request, |
| 63 | 63 | 'PUT, GET, DELETE', |
| 64 | - 'Authorization, Content-Type, Accept', |
|
| 65 | - 1728000); |
|
| 64 | + 'Authorization, Content-Type, Accept', |
|
| 65 | + 1728000); |
|
| 66 | 66 | $this->userId = $userId; |
| 67 | 67 | $this->subscriptionService = $subscriptionService; |
| 68 | 68 | $this->logger = $logger; |
@@ -44,7 +44,6 @@ |
||
| 44 | 44 | * @param IRequest $request |
| 45 | 45 | * @param ILogger $logger |
| 46 | 46 | * @param VoteService $voteService |
| 47 | - |
|
| 48 | 47 | */ |
| 49 | 48 | public function __construct( |
| 50 | 49 | string $appName, |
@@ -55,8 +55,8 @@ |
||
| 55 | 55 | parent::__construct($appName, |
| 56 | 56 | $request, |
| 57 | 57 | 'PUT, GET, DELETE', |
| 58 | - 'Authorization, Content-Type, Accept', |
|
| 59 | - 1728000); |
|
| 58 | + 'Authorization, Content-Type, Accept', |
|
| 59 | + 1728000); |
|
| 60 | 60 | $this->voteService = $voteService; |
| 61 | 61 | $this->logger = $logger; |
| 62 | 62 | } |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | use OCA\Polls\Service\LogService; |
| 34 | 34 | use OCA\Polls\Model\Acl; |
| 35 | 35 | |
| 36 | -class VoteService { |
|
| 36 | +class VoteService { |
|
| 37 | 37 | |
| 38 | 38 | private $voteMapper; |
| 39 | 39 | private $vote; |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | use OCA\Polls\Service\LogService; |
| 32 | 32 | use OCA\Polls\Model\Acl; |
| 33 | 33 | |
| 34 | -class OptionService { |
|
| 34 | +class OptionService { |
|
| 35 | 35 | |
| 36 | 36 | private $optionMapper; |
| 37 | 37 | private $option; |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | use OCA\Polls\Db\SubscriptionMapper; |
| 34 | 34 | use OCA\Polls\Model\Acl; |
| 35 | 35 | |
| 36 | -class SubscriptionService { |
|
| 36 | +class SubscriptionService { |
|
| 37 | 37 | |
| 38 | 38 | private $acl; |
| 39 | 39 | private $subscriptionMapper; |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | return ['status' => 'Subscribed to poll ' . $pollId]; |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | - } catch (DoesNotExistException $e){ |
|
| 97 | + } catch (DoesNotExistException $e) { |
|
| 98 | 98 | |
| 99 | 99 | if ($subscribed) { |
| 100 | 100 | $subscription = new Subscription(); |
@@ -60,12 +60,12 @@ |
||
| 60 | 60 | * @param IRequest $request |
| 61 | 61 | * @param ILogger $logger |
| 62 | 62 | * @param PollService $pollService |
| 63 | - * @param CommentService $commentService |
|
| 64 | - * @param OptionService $optionService |
|
| 65 | - * @param ShareService $shareService |
|
| 66 | - * @param VoteService $voteService |
|
| 67 | - * @param Acl $acl |
|
| 68 | - */ |
|
| 63 | + * @param CommentService $commentService |
|
| 64 | + * @param OptionService $optionService |
|
| 65 | + * @param ShareService $shareService |
|
| 66 | + * @param VoteService $voteService |
|
| 67 | + * @param Acl $acl |
|
| 68 | + */ |
|
| 69 | 69 | |
| 70 | 70 | public function __construct( |
| 71 | 71 | string $appName, |