Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-03-03 07:41:34 +0300
committerChristopher Ng <chrng8@gmail.com>2022-03-03 18:48:00 +0300
commit31a9be04825ead9d4026835e3c8f0f7ec3f1a596 (patch)
tree27f178f72f8f2b0e5a0a6bcc2e8c2404e5dfaa27
parent213e75b78a76e55254ba59e15c3e2697cc632dad (diff)
Fix avatar file return type
Signed-off-by: Christopher Ng <chrng8@gmail.com>
-rw-r--r--lib/public/IAvatar.php4
1 files changed, 2 insertions, 2 deletions
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
*/