diff --git a/lib/Controller/BoardController.php b/lib/Controller/BoardController.php index edcb358cb..901b8e0af 100644 --- a/lib/Controller/BoardController.php +++ b/lib/Controller/BoardController.php @@ -39,13 +39,7 @@ class BoardController extends Controller { private $permissionService; private $userInfo; - public function __construct($appName, - IRequest $request, - IUserManager $userManager, - IGroupManager $groupManager, - BoardService $boardService, - PermissionService $permissionService, - $userId) { + public function __construct($appName, IRequest $request, IUserManager $userManager, IGroupManager $groupManager, BoardService $boardService, PermissionService $permissionService, $userId) { parent::__construct($appName, $request); $this->userId = $userId; $this->userManager = $userManager; diff --git a/lib/Controller/CardController.php b/lib/Controller/CardController.php index ed506517f..a95f5f6a0 100644 --- a/lib/Controller/CardController.php +++ b/lib/Controller/CardController.php @@ -31,10 +31,7 @@ use OCP\AppFramework\Controller; class CardController extends Controller { private $userId; private $cardService; - public function __construct($appName, - IRequest $request, - CardService $cardService, - $userId){ + public function __construct($appName, IRequest $request, CardService $cardService, $userId){ parent::__construct($appName, $request); $this->userId = $userId; $this->cardService = $cardService; diff --git a/lib/Controller/LabelController.php b/lib/Controller/LabelController.php index db805fbbb..1b18b42b0 100644 --- a/lib/Controller/LabelController.php +++ b/lib/Controller/LabelController.php @@ -24,21 +24,16 @@ namespace OCA\Deck\Controller; use OCA\Deck\Service\LabelService; - use OCP\IRequest; - use OCP\AppFramework\Controller; class LabelController extends Controller { - private $userId; + private $labelService; - public function __construct($appName, - IRequest $request, - LabelService $labelService, - $userId){ + + public function __construct($appName, IRequest $request, LabelService $labelService){ parent::__construct($appName, $request); - $this->userId = $userId; $this->labelService = $labelService; } diff --git a/lib/Controller/ShareController.php b/lib/Controller/ShareController.php index 3a4eabb33..91da7a48c 100644 --- a/lib/Controller/ShareController.php +++ b/lib/Controller/ShareController.php @@ -38,13 +38,7 @@ class ShareController extends Controller { private $boardService; private $userId; - public function __construct($appName, - IRequest $request, - IUserManager $userManager, - IGroupManager $groupManager, - BoardService $boardService, - $userId - ) { + public function __construct($appName, IRequest $request, IUserManager $userManager, IGroupManager $groupManager, BoardService $boardService, $userId) { parent::__construct($appName, $request); $this->userManager = $userManager; $this->groupManager = $groupManager; diff --git a/lib/Controller/StackController.php b/lib/Controller/StackController.php index 2bb42acaa..2cb84c1dd 100644 --- a/lib/Controller/StackController.php +++ b/lib/Controller/StackController.php @@ -33,10 +33,7 @@ use OCP\AppFramework\Controller; class StackController extends Controller { private $userId; private $stackService; - public function __construct($appName, - IRequest $request, - StackService $cardService, - $userId){ + public function __construct($appName, IRequest $request, StackService $cardService, $userId){ parent::__construct($appName, $request); $this->userId = $userId; $this->stackService = $cardService;