diff options
author | provokateurin <kate@provokateurin.de> | 2024-05-06 13:32:09 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-05-06 12:07:58 +0000 |
commit | 7d2515f298cd4b6ab59cdff88b299582c9f68352 (patch) | |
tree | 61ed2336d5b275141849cbd5cabc013a56e6526a /lib/private | |
parent | bf9c3c6a4488fd1af26e61527369ce36842fc1fb (diff) | |
download | nextcloud-server-7d2515f298cd4b6ab59cdff88b299582c9f68352.tar.gz nextcloud-server-7d2515f298cd4b6ab59cdff88b299582c9f68352.zip |
fix(OC_Image): Set correct return type for exif_imagetype stub
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/private')
-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 aac0c496734..bca9f6a0043 100644 --- a/lib/private/legacy/OC_Image.php +++ b/lib/private/legacy/OC_Image.php @@ -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) { |