aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Direct/ServerFactory.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Direct/ServerFactory.php')
-rw-r--r--apps/dav/lib/Direct/ServerFactory.php12
1 files changed, 5 insertions, 7 deletions
diff --git a/apps/dav/lib/Direct/ServerFactory.php b/apps/dav/lib/Direct/ServerFactory.php
index e64dc3a3266..473439361c2 100644
--- a/apps/dav/lib/Direct/ServerFactory.php
+++ b/apps/dav/lib/Direct/ServerFactory.php
@@ -20,17 +20,15 @@ use OCP\L10N\IFactory;
use OCP\Security\Bruteforce\IThrottler;
class ServerFactory {
- /** @var IConfig */
- private $config;
/** @var IL10N */
private $l10n;
- /** @var IEventDispatcher */
- private $eventDispatcher;
- public function __construct(IConfig $config, IFactory $l10nFactory, IEventDispatcher $eventDispatcher) {
- $this->config = $config;
+ public function __construct(
+ private IConfig $config,
+ IFactory $l10nFactory,
+ private IEventDispatcher $eventDispatcher,
+ ) {
$this->l10n = $l10nFactory->get('dav');
- $this->eventDispatcher = $eventDispatcher;
}
public function createServer(string $baseURI,