mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 15:21:00 -04:00
Merge pull request #31942 from nextcloud/fix/dav-deprecated-warning
Fix warning about optional parameter before required one
This commit is contained in:
commit
c233acce14
1 changed files with 7 additions and 4 deletions
|
|
@ -30,11 +30,14 @@ use Sabre\CalDAV\Backend;
|
|||
use Sabre\DAVACL\PrincipalBackend;
|
||||
|
||||
class CalendarRoot extends \Sabre\CalDAV\CalendarRoot {
|
||||
private LoggerInterface $logger;
|
||||
|
||||
/** @var LoggerInterface */
|
||||
private $logger;
|
||||
|
||||
public function __construct(PrincipalBackend\BackendInterface $principalBackend, Backend\BackendInterface $caldavBackend, $principalPrefix = 'principals', LoggerInterface $logger) {
|
||||
public function __construct(
|
||||
PrincipalBackend\BackendInterface $principalBackend,
|
||||
Backend\BackendInterface $caldavBackend,
|
||||
$principalPrefix,
|
||||
LoggerInterface $logger
|
||||
) {
|
||||
parent::__construct($principalBackend, $caldavBackend, $principalPrefix);
|
||||
$this->logger = $logger;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue