Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2021-10-25 17:13:50 +0300
committerCôme Chilliet <come.chilliet@nextcloud.com>2021-11-02 13:49:13 +0300
commit23aa60bb8ddf038a531f7aec1d7f48bebf8965dd (patch)
treef150f51142cac8e9b7d12328749f52cfb6295dd5 /lib/public/IImage.php
parent4698a298253ac77a258670376185d2cc36dd661f (diff)
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/IImage.php')
-rw-r--r--lib/public/IImage.php2
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();