diff options
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/iavatar.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/iavatar.php b/lib/public/iavatar.php index fc4058ab4f2..6203d3d5576 100644 --- a/lib/public/iavatar.php +++ b/lib/public/iavatar.php @@ -36,9 +36,9 @@ interface IAvatar { /** * get the users avatar - * @param int $size size in px of the avatar, avatars are square, defaults to 64 + * @param int $size size in px of the avatar, avatars are square, defaults to 64, -1 can be used to not scale the image * @return boolean|\OCP\IImage containing the avatar or false if there's no image - * @since 6.0.0 + * @since 6.0.0 - size of -1 was added in 9.0.0 */ public function get($size = 64); @@ -70,7 +70,7 @@ interface IAvatar { /** * Get the file of the avatar - * @param int $size + * @param int $size -1 can be used to not scale the image * @return File * @throws NotFoundException * @since 9.0.0 |