diff --git a/lib/private/legacy/OC_Image.php b/lib/private/legacy/OC_Image.php index 880bb1d42a9bc..dec313771bc6d 100644 --- a/lib/private/legacy/OC_Image.php +++ b/lib/private/legacy/OC_Image.php @@ -1148,7 +1148,7 @@ public function __destruct() { * * @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) {