fix(OC_Image): Set correct return type for exif_imagetype stub

Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
provokateurin 2024-05-06 13:32:09 +02:00 committed by backportbot[bot]
parent bf9c3c6a44
commit 7d2515f298

View file

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