mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 23:59:27 -04:00
Fix avatar file return type
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
4fc2a276b4
commit
2494bb6590
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue