summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/legacy/OC_Image.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_Image.php b/lib/private/legacy/OC_Image.php
index 56fb3e0d52f..794d59b25fe 100644
--- a/lib/private/legacy/OC_Image.php
+++ b/lib/private/legacy/OC_Image.php
@@ -1167,7 +1167,7 @@ if (!function_exists('exif_imagetype')) {
*
* @link https://www.php.net/manual/en/function.exif-imagetype.php#80383
* @param string $fileName
- * @return string|boolean
+ * @return int|false
*/
function exif_imagetype(string $fileName) {
if (($info = getimagesize($fileName)) !== false) {