aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CardDAV/ContactsManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/CardDAV/ContactsManager.php')
-rw-r--r--apps/dav/lib/CardDAV/ContactsManager.php13
1 files changed, 4 insertions, 9 deletions
diff --git a/apps/dav/lib/CardDAV/ContactsManager.php b/apps/dav/lib/CardDAV/ContactsManager.php
index 899396ddc17..39e4e6aa117 100644
--- a/apps/dav/lib/CardDAV/ContactsManager.php
+++ b/apps/dav/lib/CardDAV/ContactsManager.php
@@ -12,21 +12,16 @@ use OCP\IL10N;
use OCP\IURLGenerator;
class ContactsManager {
- /** @var CardDavBackend */
- private $backend;
-
- /** @var IL10N */
- private $l10n;
-
/**
* ContactsManager constructor.
*
* @param CardDavBackend $backend
* @param IL10N $l10n
*/
- public function __construct(CardDavBackend $backend, IL10N $l10n) {
- $this->backend = $backend;
- $this->l10n = $l10n;
+ public function __construct(
+ private CardDavBackend $backend,
+ private IL10N $l10n,
+ ) {
}
/**