summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Avatars/RootCollection.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-03-26 11:32:29 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-03-29 00:04:29 +0200
commitf0850b266e25437bd1cfc2cbcfc27c2036f36b46 (patch)
tree047f2cf7b48ad6295f13aa1c5ae78f2f6cfd624a /apps/dav/lib/Avatars/RootCollection.php
parent836271e0fddb33271ffac5f6f84dee8c4ea7140e (diff)
downloadnextcloud-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.php6
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';
}