diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2020-04-11 08:21:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 08:21:35 +0200 |
commit | b5a30d5cd6b53831c0d6d2fd074dc0000fa811de (patch) | |
tree | 386f3cb5df4630a1e87dae706667772e590596b8 /apps/dav/lib/CalDAV/PublicCalendarRoot.php | |
parent | 97de425a171adf9194dae75eede74cf9f3356cc8 (diff) | |
parent | eea282ccc0d9dfae2d321efddce99cdb18158338 (diff) | |
download | nextcloud-server-b5a30d5cd6b53831c0d6d2fd074dc0000fa811de.tar.gz nextcloud-server-b5a30d5cd6b53831c0d6d2fd074dc0000fa811de.zip |
Merge pull request #20426 from nextcloud/techdebt/psr2
It is done
Diffstat (limited to 'apps/dav/lib/CalDAV/PublicCalendarRoot.php')
-rw-r--r-- | apps/dav/lib/CalDAV/PublicCalendarRoot.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/dav/lib/CalDAV/PublicCalendarRoot.php b/apps/dav/lib/CalDAV/PublicCalendarRoot.php index a79fffa598a..3dd7cfcc7ca 100644 --- a/apps/dav/lib/CalDAV/PublicCalendarRoot.php +++ b/apps/dav/lib/CalDAV/PublicCalendarRoot.php @@ -48,7 +48,7 @@ class PublicCalendarRoot extends Collection { * @param IL10N $l10n * @param IConfig $config */ - function __construct(CalDavBackend $caldavBackend, IL10N $l10n, + public function __construct(CalDavBackend $caldavBackend, IL10N $l10n, IConfig $config) { $this->caldavBackend = $caldavBackend; $this->l10n = $l10n; @@ -58,14 +58,14 @@ class PublicCalendarRoot extends Collection { /** * @inheritdoc */ - function getName() { + public function getName() { return 'public-calendars'; } /** * @inheritdoc */ - function getChild($name) { + public function getChild($name) { $calendar = $this->caldavBackend->getPublicCalendar($name); return new PublicCalendar($this->caldavBackend, $calendar, $this->l10n, $this->config); } @@ -73,7 +73,7 @@ class PublicCalendarRoot extends Collection { /** * @inheritdoc */ - function getChildren() { + public function getChildren() { return []; } } |