diff options
author | provokateurin <kate@provokateurin.de> | 2024-05-06 13:32:09 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-05-06 13:34:27 +0200 |
commit | ce53a7ad812d9dcfc1e1f413ed59857517dc4339 (patch) | |
tree | 50d2c3655a5904879ff9337a67148fe072658ac2 /lib/private/legacy | |
parent | b534a70acd09764f540f2090841b40d6f5094eca (diff) | |
download | nextcloud-server-ce53a7ad812d9dcfc1e1f413ed59857517dc4339.tar.gz nextcloud-server-ce53a7ad812d9dcfc1e1f413ed59857517dc4339.zip |
fix(OC_Image): Set correct return type for exif_imagetype stub
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/OC_Image.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_Image.php b/lib/private/legacy/OC_Image.php index 880bb1d42a9..dec313771bc 100644 --- a/lib/private/legacy/OC_Image.php +++ b/lib/private/legacy/OC_Image.php @@ -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) { |