diff options
author | Christopher Ng <chrng8@gmail.com> | 2022-03-03 04:41:34 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2022-03-04 04:32:29 +0000 |
commit | aba45f28beb3322e9b08817ebf1d2636bbb183e9 (patch) | |
tree | 469adb24e5531dfdd510bc7b398bcd7a3a638a70 /lib/public | |
parent | 47cbb421616016ed1980dd05d3e8ceef6d1592fa (diff) | |
download | nextcloud-server-aba45f28beb3322e9b08817ebf1d2636bbb183e9.tar.gz nextcloud-server-aba45f28beb3322e9b08817ebf1d2636bbb183e9.zip |
Fix avatar file return type
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'lib/public')
-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 */ |