aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib/AddressHandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federatedfilesharing/lib/AddressHandler.php')
-rw-r--r--apps/federatedfilesharing/lib/AddressHandler.php20
1 files changed, 4 insertions, 16 deletions
diff --git a/apps/federatedfilesharing/lib/AddressHandler.php b/apps/federatedfilesharing/lib/AddressHandler.php
index a2986618729..d21516c698c 100644
--- a/apps/federatedfilesharing/lib/AddressHandler.php
+++ b/apps/federatedfilesharing/lib/AddressHandler.php
@@ -20,30 +20,18 @@ use OCP\Util;
*/
class AddressHandler {
- /** @var IL10N */
- private $l;
-
- /** @var IURLGenerator */
- private $urlGenerator;
-
- /** @var ICloudIdManager */
- private $cloudIdManager;
-
/**
* AddressHandler constructor.
*
* @param IURLGenerator $urlGenerator
- * @param IL10N $il10n
+ * @param IL10N $l
* @param ICloudIdManager $cloudIdManager
*/
public function __construct(
- IURLGenerator $urlGenerator,
- IL10N $il10n,
- ICloudIdManager $cloudIdManager,
+ private IURLGenerator $urlGenerator,
+ private IL10N $l,
+ private ICloudIdManager $cloudIdManager,
) {
- $this->l = $il10n;
- $this->urlGenerator = $urlGenerator;
- $this->cloudIdManager = $cloudIdManager;
}
/**