]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix avatar file return type 31417/head
authorChristopher Ng <chrng8@gmail.com>
Thu, 3 Mar 2022 04:41:34 +0000 (04:41 +0000)
committerChristopher Ng <chrng8@gmail.com>
Thu, 3 Mar 2022 15:48:00 +0000 (15:48 +0000)
Signed-off-by: Christopher Ng <chrng8@gmail.com>
lib/public/IAvatar.php

index 1f079ba1e034b5e3bd71584f339bdf85301fd217..8a1bc79245007172b26c8b45546a368a6849d288 100644 (file)
@@ -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
         */