diff --git a/lib/public/IAvatar.php b/lib/public/IAvatar.php index 1f079ba1e034b..c1826bc8647a6 100644 --- a/lib/public/IAvatar.php +++ b/lib/public/IAvatar.php @@ -26,8 +26,9 @@ */ namespace OCP; -use OCP\Files\File; use OCP\Files\NotFoundException; +use OCP\Files\SimpleFS\InMemoryFile; +use OCP\Files\SimpleFS\ISimpleFile; /** * This class provides avatar functionality @@ -80,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|InMemoryFile * @throws NotFoundException * @since 9.0.0 */