aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Direct/DirectHome.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Direct/DirectHome.php')
-rw-r--r--apps/dav/lib/Direct/DirectHome.php36
1 files changed, 6 insertions, 30 deletions
diff --git a/apps/dav/lib/Direct/DirectHome.php b/apps/dav/lib/Direct/DirectHome.php
index 66fe6f0f3d4..10e1017f5a4 100644
--- a/apps/dav/lib/Direct/DirectHome.php
+++ b/apps/dav/lib/Direct/DirectHome.php
@@ -22,38 +22,14 @@ use Sabre\DAV\ICollection;
class DirectHome implements ICollection {
- /** @var IRootFolder */
- private $rootFolder;
-
- /** @var DirectMapper */
- private $mapper;
-
- /** @var ITimeFactory */
- private $timeFactory;
-
- /** @var IThrottler */
- private $throttler;
-
- /** @var IRequest */
- private $request;
-
- /** @var IEventDispatcher */
- private $eventDispatcher;
-
public function __construct(
- IRootFolder $rootFolder,
- DirectMapper $mapper,
- ITimeFactory $timeFactory,
- IThrottler $throttler,
- IRequest $request,
- IEventDispatcher $eventDispatcher,
+ private IRootFolder $rootFolder,
+ private DirectMapper $mapper,
+ private ITimeFactory $timeFactory,
+ private IThrottler $throttler,
+ private IRequest $request,
+ private IEventDispatcher $eventDispatcher,
) {
- $this->rootFolder = $rootFolder;
- $this->mapper = $mapper;
- $this->timeFactory = $timeFactory;
- $this->throttler = $throttler;
- $this->request = $request;
- $this->eventDispatcher = $eventDispatcher;
}
public function createFile($name, $data = null) {