aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Collaboration
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/lib/Collaboration')
-rw-r--r--apps/files_sharing/lib/Collaboration/ShareRecipientSorter.php14
1 files changed, 6 insertions, 8 deletions
diff --git a/apps/files_sharing/lib/Collaboration/ShareRecipientSorter.php b/apps/files_sharing/lib/Collaboration/ShareRecipientSorter.php
index f383424fd78..803dfd6325f 100644
--- a/apps/files_sharing/lib/Collaboration/ShareRecipientSorter.php
+++ b/apps/files_sharing/lib/Collaboration/ShareRecipientSorter.php
@@ -1,4 +1,5 @@
<?php
+
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
@@ -13,14 +14,11 @@ use OCP\Share\IManager;
class ShareRecipientSorter implements ISorter {
- private IManager $shareManager;
- private IRootFolder $rootFolder;
- private IUserSession $userSession;
-
- public function __construct(IManager $shareManager, IRootFolder $rootFolder, IUserSession $userSession) {
- $this->shareManager = $shareManager;
- $this->rootFolder = $rootFolder;
- $this->userSession = $userSession;
+ public function __construct(
+ private IManager $shareManager,
+ private IRootFolder $rootFolder,
+ private IUserSession $userSession,
+ ) {
}
public function getId(): string {