From 0cacb217119e4ecadbc3b2a567a1554d513fa4a5 Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Sat, 11 Jul 2020 16:58:15 +0000 Subject: Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- lib/Controller/PollController.php | 14 +++++++------- lib/Controller/ShareApiController.php | 18 +++++++++--------- lib/Controller/VoteApiController.php | 4 ++-- 3 files changed, 18 insertions(+), 18 deletions(-) (limited to 'lib') 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; } -- cgit v1.2.3