aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Controller/AuthorizedGroupController.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/lib/Controller/AuthorizedGroupController.php')
-rw-r--r--apps/settings/lib/Controller/AuthorizedGroupController.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/settings/lib/Controller/AuthorizedGroupController.php b/apps/settings/lib/Controller/AuthorizedGroupController.php
index f4a018b0555..82a1ca4703e 100644
--- a/apps/settings/lib/Controller/AuthorizedGroupController.php
+++ b/apps/settings/lib/Controller/AuthorizedGroupController.php
@@ -15,12 +15,12 @@ use OCP\DB\Exception;
use OCP\IRequest;
class AuthorizedGroupController extends Controller {
- /** @var AuthorizedGroupService $authorizedGroupService */
- private $authorizedGroupService;
-
- public function __construct(string $AppName, IRequest $request, AuthorizedGroupService $authorizedGroupService) {
+ public function __construct(
+ string $AppName,
+ IRequest $request,
+ private AuthorizedGroupService $authorizedGroupService,
+ ) {
parent::__construct($AppName, $request);
- $this->authorizedGroupService = $authorizedGroupService;
}
/**
@@ -57,7 +57,7 @@ class AuthorizedGroupController extends Controller {
$this->authorizedGroupService->create($groupData['gid'], $class);
}
}
-
+
return new DataResponse(['valid' => true]);
}
}