Fix constructor indentation
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user