Skip to content

Commit

Permalink
Fix avatar file return type
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <chrng8@gmail.com>
  • Loading branch information
Pytal committed Mar 4, 2022
1 parent 4fc2a27 commit 2494bb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/public/IAvatar.php
Expand Up @@ -26,8 +26,8 @@
*/
namespace OCP;

use OCP\Files\File;
use OCP\Files\NotFoundException;
use OCP\Files\SimpleFS\ISimpleFile;

/**
* This class provides avatar functionality
Expand Down Expand Up @@ -80,7 +80,7 @@ public function remove();
/**
* 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
*/
Expand Down

0 comments on commit 2494bb6

Please sign in to comment.