diff options
Diffstat (limited to 'lib/public/IAvatarManager.php')
-rw-r--r-- | lib/public/IAvatarManager.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/public/IAvatarManager.php b/lib/public/IAvatarManager.php index 573e109f003..15894550d10 100644 --- a/lib/public/IAvatarManager.php +++ b/lib/public/IAvatarManager.php @@ -37,15 +37,14 @@ namespace OCP; interface IAvatarManager { /** - * return a user specific instance of \OCP\IAvatar + * Return a user specific instance of \OCP\IAvatar * @see IAvatar - * @param string $user the ownCloud user id - * @return IAvatar + * @param string $userId the Nextcloud user id * @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(string $user) : IAvatar; + public function getAvatar(string $userId): IAvatar; /** * Returns a guest user avatar instance. |