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:
authorPytal <24800714+Pytal@users.noreply.github.com>2022-03-03 21:01:43 +0300
committerGitHub <noreply@github.com>2022-03-03 21:01:43 +0300
commit787f4f02b361eec1eddf08709905ed4b5d250a48 (patch)
tree3fc7ae20e1384006abeebe0a419e5a17a2fffa3f
parent8f6a3f4e6d3a920b5817f43390dd5f0e21d1264b (diff)
parent31a9be04825ead9d4026835e3c8f0f7ec3f1a596 (diff)
Merge pull request #31417 from nextcloud/fix/avatar-return-type
-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
*/