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
path: root/lib
diff options
context:
space:
mode:
authorScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2020-07-11 19:58:15 +0300
committerScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2020-07-11 19:58:15 +0300
commit0cacb217119e4ecadbc3b2a567a1554d513fa4a5 (patch)
tree8e7c20a73f57f136d2b0e073f8e881ed9ff98b54 /lib
parentcf4fe7174164f6a168bcd60ecf26896e0ea65848 (diff)
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Diffstat (limited to 'lib')
-rw-r--r--lib/Controller/PollController.php14
-rw-r--r--lib/Controller/ShareApiController.php18
-rw-r--r--lib/Controller/VoteApiController.php4
3 files changed, 18 insertions, 18 deletions
diff --git a/lib/Controller/PollController.php b/lib/Controller/PollController.php
index 73c07347..d1b4945b 100644
--- a/lib/Controller/PollController.php
+++ b/lib/Controller/PollController.php
@@ -67,13 +67,13 @@ class PollController extends Controller {
* PollController constructor.
* @param string $appName
* @param IRequest $request
- * @param PollService $pollService
- * @param CommentService $commentService
- * @param OptionService $optionService
- * @param ShareService $shareService
- * @param VoteService $voteService
- * @param Acl $acl
- */
+ * @param PollService $pollService
+ * @param CommentService $commentService
+ * @param OptionService $optionService
+ * @param ShareService $shareService
+ * @param VoteService $voteService
+ * @param Acl $acl
+ */
public function __construct(
string $appName,
diff --git a/lib/Controller/ShareApiController.php b/lib/Controller/ShareApiController.php
index e2d8b465..57c65033 100644
--- a/lib/Controller/ShareApiController.php
+++ b/lib/Controller/ShareApiController.php
@@ -60,8 +60,8 @@ class ShareApiController extends ApiController {
parent::__construct($appName,
$request,
'POST, PUT, GET, DELETE',
- 'Authorization, Content-Type, Accept',
- 1728000);
+ 'Authorization, Content-Type, Accept',
+ 1728000);
$this->shareService = $shareService;
$this->mailService = $mailService;
}
@@ -85,13 +85,13 @@ class ShareApiController extends ApiController {
}
/**
- * Get share by token
- * @NoAdminRequired
- * @CORS
- * @NoCSRFRequired
- * @param string $token
- * @return DataResponse
- */
+ * Get share by token
+ * @NoAdminRequired
+ * @CORS
+ * @NoCSRFRequired
+ * @param string $token
+ * @return DataResponse
+ */
public function get($token) {
try {
return new DataResponse(['share' => $this->shareService->get($token)], Http::STATUS_OK);
diff --git a/lib/Controller/VoteApiController.php b/lib/Controller/VoteApiController.php
index 8f8976ba..28b1eded 100644
--- a/lib/Controller/VoteApiController.php
+++ b/lib/Controller/VoteApiController.php
@@ -53,8 +53,8 @@ class VoteApiController extends ApiController {
parent::__construct($appName,
$request,
'PUT, GET, DELETE',
- 'Authorization, Content-Type, Accept',
- 1728000);
+ 'Authorization, Content-Type, Accept',
+ 1728000);
$this->voteService = $voteService;
}