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 authored and backportbot[bot] committed Mar 3, 2022
1 parent 47cbb42 commit d55e3bf
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 d55e3bf

Please sign in to comment.