From: Christopher Ng Date: Thu, 3 Mar 2022 04:41:34 +0000 (+0000) Subject: Fix avatar file return type X-Git-Tag: v24.0.0beta1~127^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F31417%2Fhead;p=nextcloud-server.git Fix avatar file return type Signed-off-by: Christopher Ng --- diff --git a/lib/public/IAvatar.php b/lib/public/IAvatar.php index 1f079ba1e03..8a1bc792450 100644 --- a/lib/public/IAvatar.php +++ b/lib/public/IAvatar.php @@ -26,8 +26,8 @@ */ namespace OCP; -use OCP\Files\File; use OCP\Files\NotFoundException; +use OCP\Files\SimpleFS\ISimpleFile; /** * This class provides avatar functionality @@ -80,7 +80,7 @@ interface IAvatar { /** * Get the file of the avatar * @param int $size -1 can be used to not scale the image - * @return File + * @return ISimpleFile * @throws NotFoundException * @since 9.0.0 */