Merge pull request #31417 from nextcloud/fix/avatar-return-type

This commit is contained in:
Pytal 2022-03-03 10:01:43 -08:00 committed by GitHub
commit 787f4f02b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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