Skip to content

Commit 890c5b8

Browse files
Merge pull request #45196 from nextcloud/fix/oc_image/exif_imagetype-return-type
2 parents b534a70 + ce53a7a commit 890c5b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/legacy/OC_Image.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ public function __destruct() {
11481148
*
11491149
* @link https://www.php.net/manual/en/function.exif-imagetype.php#80383
11501150
* @param string $fileName
1151-
* @return string|boolean
1151+
* @return int|false
11521152
*/
11531153
function exif_imagetype(string $fileName) {
11541154
if (($info = getimagesize($fileName)) !== false) {

0 commit comments

Comments
 (0)