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;
}