diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-01-17 13:46:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-17 13:46:18 +0100 |
commit | f8756d96bc7821a1082dd19cb8aea6d0b933505a (patch) | |
tree | 7fc39b205b0f38948fb6965eae8b693ecb4d0055 /lib/public | |
parent | 73cc4ac1f688cb181e3072490699f054b8c91e8c (diff) | |
parent | 8614eb91db754eec7904841e44fbbbc63ffb013a (diff) | |
download | nextcloud-server-f8756d96bc7821a1082dd19cb8aea6d0b933505a.tar.gz nextcloud-server-f8756d96bc7821a1082dd19cb8aea6d0b933505a.zip |
Merge pull request #7847 from nextcloud/avatarmanager_strict
Fixes for avatarmanager
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/IAvatarManager.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/public/IAvatarManager.php b/lib/public/IAvatarManager.php index 04f4cd00d0d..19e4b93503a 100644 --- a/lib/public/IAvatarManager.php +++ b/lib/public/IAvatarManager.php @@ -1,4 +1,5 @@ <?php +declare(strict_types=1); /** * @copyright Copyright (c) 2016, ownCloud, Inc. * @@ -35,12 +36,12 @@ interface IAvatarManager { /** * return a user specific instance of \OCP\IAvatar - * @see \OCP\IAvatar + * @see IAvatar * @param string $user the ownCloud user id - * @return \OCP\IAvatar + * @return IAvatar * @throws \Exception In case the username is potentially dangerous * @throws \OCP\Files\NotFoundException In case there is no user folder yet * @since 6.0.0 */ - public function getAvatar($user); + public function getAvatar(string $user) : IAvatar; } |