aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/dav/lib/CalDAV/CalendarRoot.php13
1 files changed, 8 insertions, 5 deletions
diff --git a/apps/dav/lib/CalDAV/CalendarRoot.php b/apps/dav/lib/CalDAV/CalendarRoot.php
index e08264b8f59..0c701d9cdcf 100644
--- a/apps/dav/lib/CalDAV/CalendarRoot.php
+++ b/apps/dav/lib/CalDAV/CalendarRoot.php
@@ -30,11 +30,14 @@ use Sabre\CalDAV\Backend;
use Sabre\DAVACL\PrincipalBackend;
class CalendarRoot extends \Sabre\CalDAV\CalendarRoot {
-
- /** @var LoggerInterface */
- private $logger;
-
- public function __construct(PrincipalBackend\BackendInterface $principalBackend, Backend\BackendInterface $caldavBackend, $principalPrefix = 'principals', LoggerInterface $logger) {
+ private LoggerInterface $logger;
+
+ public function __construct(
+ PrincipalBackend\BackendInterface $principalBackend,
+ Backend\BackendInterface $caldavBackend,
+ $principalPrefix,
+ LoggerInterface $logger
+ ) {
parent::__construct($principalBackend, $caldavBackend, $principalPrefix);
$this->logger = $logger;
}