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 47cbb42 commit aba45f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/public/IAvatar.php
Original file line number Diff line number Diff line change
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 aba45f2

Please sign in to comment.