Merge pull request #45196 from nextcloud/fix/oc_image/exif_imagetype-return-type

pull/45088/head
Kate 4 weeks ago committed by GitHub
commit 890c5b8594
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1148,7 +1148,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) {

Loading…
Cancel
Save