diff options
Diffstat (limited to 'apps/dav/lib/HookManager.php')
-rw-r--r-- | apps/dav/lib/HookManager.php | 32 |
1 files changed, 7 insertions, 25 deletions
diff --git a/apps/dav/lib/HookManager.php b/apps/dav/lib/HookManager.php index f717752038a..9f4bc95d89b 100644 --- a/apps/dav/lib/HookManager.php +++ b/apps/dav/lib/HookManager.php @@ -18,21 +18,9 @@ use Psr\Log\LoggerInterface; class HookManager { - /** @var IUserManager */ - private $userManager; - - /** @var SyncService */ - private $syncService; - /** @var IUser[] */ private $usersToDelete = []; - /** @var CalDavBackend */ - private $calDav; - - /** @var CardDavBackend */ - private $cardDav; - /** @var array */ private $calendarsToDelete = []; @@ -42,19 +30,13 @@ class HookManager { /** @var array */ private $addressBooksToDelete = []; - /** @var Defaults */ - private $themingDefaults; - - public function __construct(IUserManager $userManager, - SyncService $syncService, - CalDavBackend $calDav, - CardDavBackend $cardDav, - Defaults $themingDefaults) { - $this->userManager = $userManager; - $this->syncService = $syncService; - $this->calDav = $calDav; - $this->cardDav = $cardDav; - $this->themingDefaults = $themingDefaults; + public function __construct( + private IUserManager $userManager, + private SyncService $syncService, + private CalDavBackend $calDav, + private CardDavBackend $cardDav, + private Defaults $themingDefaults, + ) { } public function setup() { |