From ce53a7ad812d9dcfc1e1f413ed59857517dc4339 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Mon, 6 May 2024 13:32:09 +0200 Subject: [PATCH] fix(OC_Image): Set correct return type for exif_imagetype stub Signed-off-by: provokateurin --- lib/private/legacy/OC_Image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {