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 */