Merge pull request #45199 from nextcloud/backport/45196/stable29

This commit is contained in:
Kate 2024-05-10 15:51:14 +02:00 committed by GitHub
commit 3439acd64d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {