Skip to content

Commit

Permalink
Merge pull request #31417 from nextcloud/fix/avatar-return-type
Browse files Browse the repository at this point in the history
  • Loading branch information
Pytal authored Mar 3, 2022
2 parents 8f6a3f4 + 31a9be0 commit 787f4f0
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 787f4f0

Please sign in to comment.