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

Signed-off-by: provokateurin <kate@provokateurin.de>
pull/45199/head
provokateurin 2 weeks ago committed by backportbot[bot]
parent 137d4617cb
commit 8fcf433914

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

Loading…
Cancel
Save