aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/ContactsMenuController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/ContactsMenuController.php')
-rw-r--r--core/Controller/ContactsMenuController.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/core/Controller/ContactsMenuController.php b/core/Controller/ContactsMenuController.php
index 87ed02362aa..7b8f2e50aa5 100644
--- a/core/Controller/ContactsMenuController.php
+++ b/core/Controller/ContactsMenuController.php
@@ -33,13 +33,12 @@ use OCP\IRequest;
use OCP\IUserSession;
class ContactsMenuController extends Controller {
- private Manager $manager;
- private IUserSession $userSession;
-
- public function __construct(IRequest $request, IUserSession $userSession, Manager $manager) {
+ public function __construct(
+ IRequest $request,
+ private IUserSession $userSession,
+ private Manager $manager,
+ ) {
parent::__construct('core', $request);
- $this->userSession = $userSession;
- $this->manager = $manager;
}
/**