Browse Source

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

Signed-off-by: provokateurin <kate@provokateurin.de>
tags/v27.1.10rc1
provokateurin 3 weeks ago
parent
commit
7d2515f298
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/private/legacy/OC_Image.php

+ 1
- 1
lib/private/legacy/OC_Image.php 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) {

Loading…
Cancel
Save