aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib/Sabre/TrashRoot.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/lib/Sabre/TrashRoot.php')
-rw-r--r--apps/files_trashbin/lib/Sabre/TrashRoot.php13
1 files changed, 4 insertions, 9 deletions
diff --git a/apps/files_trashbin/lib/Sabre/TrashRoot.php b/apps/files_trashbin/lib/Sabre/TrashRoot.php
index e2661ccdec7..d6a4f5cc67e 100644
--- a/apps/files_trashbin/lib/Sabre/TrashRoot.php
+++ b/apps/files_trashbin/lib/Sabre/TrashRoot.php
@@ -19,15 +19,10 @@ use Sabre\DAV\ICollection;
class TrashRoot implements ICollection {
- /** @var IUser */
- private $user;
-
- /** @var ITrashManager */
- private $trashManager;
-
- public function __construct(IUser $user, ITrashManager $trashManager) {
- $this->user = $user;
- $this->trashManager = $trashManager;
+ public function __construct(
+ private IUser $user,
+ private ITrashManager $trashManager,
+ ) {
}
public function delete() {