aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/Principal
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2020-04-11 08:21:35 +0200
committerGitHub <noreply@github.com>2020-04-11 08:21:35 +0200
commitb5a30d5cd6b53831c0d6d2fd074dc0000fa811de (patch)
tree386f3cb5df4630a1e87dae706667772e590596b8 /apps/dav/lib/CalDAV/Principal
parent97de425a171adf9194dae75eede74cf9f3356cc8 (diff)
parenteea282ccc0d9dfae2d321efddce99cdb18158338 (diff)
downloadnextcloud-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/Principal')
-rw-r--r--apps/dav/lib/CalDAV/Principal/Collection.php2
-rw-r--r--apps/dav/lib/CalDAV/Principal/User.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/CalDAV/Principal/Collection.php b/apps/dav/lib/CalDAV/Principal/Collection.php
index 6e7e20223c8..23868172ddf 100644
--- a/apps/dav/lib/CalDAV/Principal/Collection.php
+++ b/apps/dav/lib/CalDAV/Principal/Collection.php
@@ -36,7 +36,7 @@ class Collection extends \Sabre\CalDAV\Principal\Collection {
* @param array $principalInfo
* @return User
*/
- function getChildForPrincipal(array $principalInfo) {
+ public function getChildForPrincipal(array $principalInfo) {
return new User($this->principalBackend, $principalInfo);
}
}
diff --git a/apps/dav/lib/CalDAV/Principal/User.php b/apps/dav/lib/CalDAV/Principal/User.php
index f10773769ca..3507ca63829 100644
--- a/apps/dav/lib/CalDAV/Principal/User.php
+++ b/apps/dav/lib/CalDAV/Principal/User.php
@@ -42,7 +42,7 @@ class User extends \Sabre\CalDAV\Principal\User {
*
* @return array
*/
- function getACL() {
+ public function getACL() {
$acl = parent::getACL();
$acl[] = [
'privilege' => '{DAV:}read',