From a159713052328de4fcb7f95c74732d562d74396a Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Thu, 3 Mar 2022 04:41:34 +0000 Subject: [PATCH] Fix avatar file return type Signed-off-by: Christopher Ng --- lib/public/IAvatar.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/public/IAvatar.php b/lib/public/IAvatar.php index 644c8bb206549..9c76c52a1359b 100644 --- a/lib/public/IAvatar.php +++ b/lib/public/IAvatar.php @@ -27,8 +27,8 @@ namespace OCP; -use OCP\Files\File; use OCP\Files\NotFoundException; +use OCP\Files\SimpleFS\ISimpleFile; /** * This class provides avatar functionality @@ -81,7 +81,7 @@ public function remove(); /** * 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 */