diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-03-26 11:32:29 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-03-29 00:04:29 +0200 |
commit | f0850b266e25437bd1cfc2cbcfc27c2036f36b46 (patch) | |
tree | 047f2cf7b48ad6295f13aa1c5ae78f2f6cfd624a /apps/dav/lib/Avatars/RootCollection.php | |
parent | 836271e0fddb33271ffac5f6f84dee8c4ea7140e (diff) | |
download | nextcloud-server-f0850b266e25437bd1cfc2cbcfc27c2036f36b46.tar.gz nextcloud-server-f0850b266e25437bd1cfc2cbcfc27c2036f36b46.zip |
Fix inspection results
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/dav/lib/Avatars/RootCollection.php')
-rw-r--r-- | apps/dav/lib/Avatars/RootCollection.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/dav/lib/Avatars/RootCollection.php b/apps/dav/lib/Avatars/RootCollection.php index 8614d5d22b0..d7c7ff4e9fb 100644 --- a/apps/dav/lib/Avatars/RootCollection.php +++ b/apps/dav/lib/Avatars/RootCollection.php @@ -3,7 +3,7 @@ namespace OCA\DAV\Avatars; use Sabre\DAVACL\AbstractPrincipalCollection; -use Sabre\DAVACL\IPrincipal; + class RootCollection extends AbstractPrincipalCollection { @@ -17,12 +17,12 @@ class RootCollection extends AbstractPrincipalCollection { * @param array $principalInfo * @return AvatarHome */ - function getChildForPrincipal(array $principalInfo) { + public function getChildForPrincipal(array $principalInfo) { $avatarManager = \OC::$server->getAvatarManager(); return new AvatarHome($principalInfo, $avatarManager); } - function getName() { + public function getName() { return 'avatars'; } |