diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2021-10-25 16:13:50 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2021-11-02 11:49:13 +0100 |
commit | 23aa60bb8ddf038a531f7aec1d7f48bebf8965dd (patch) | |
tree | f150f51142cac8e9b7d12328749f52cfb6295dd5 /lib/public | |
parent | 4698a298253ac77a258670376185d2cc36dd661f (diff) | |
download | nextcloud-server-23aa60bb8ddf038a531f7aec1d7f48bebf8965dd.tar.gz nextcloud-server-23aa60bb8ddf038a531f7aec1d7f48bebf8965dd.zip |
Fix resource usages in OC_Image
This makes sure using resource or GdImage (PHP>=8) behaves the same.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/IImage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/IImage.php b/lib/public/IImage.php index aa1cf344e5f..ea9f6e40190 100644 --- a/lib/public/IImage.php +++ b/lib/public/IImage.php @@ -99,7 +99,7 @@ interface IImage { public function save($filePath = null, $mimeType = null); /** - * @return resource Returns the image resource in any. + * @return resource|\GdImage Returns the image resource in any. * @since 8.1.0 */ public function resource(); |