Fix avatar file return type

Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
Christopher Ng 2022-03-03 04:41:34 +00:00
parent 4fc2a276b4
commit 2494bb6590

View 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
*/