diff options
author | Pytal <24800714+Pytal@users.noreply.github.com> | 2022-03-03 10:01:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-03 10:01:43 -0800 |
commit | 787f4f02b361eec1eddf08709905ed4b5d250a48 (patch) | |
tree | 3fc7ae20e1384006abeebe0a419e5a17a2fffa3f | |
parent | 8f6a3f4e6d3a920b5817f43390dd5f0e21d1264b (diff) | |
parent | 31a9be04825ead9d4026835e3c8f0f7ec3f1a596 (diff) | |
download | nextcloud-server-787f4f02b361eec1eddf08709905ed4b5d250a48.tar.gz nextcloud-server-787f4f02b361eec1eddf08709905ed4b5d250a48.zip |
Merge pull request #31417 from nextcloud/fix/avatar-return-type
-rw-r--r-- | lib/public/IAvatar.php | 4 |
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 */ |