summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKate <26026535+provokateurin@users.noreply.github.com>2024-05-10 15:51:14 +0200
committerGitHub <noreply@github.com>2024-05-10 15:51:14 +0200
commit3439acd64d6e77e451f69ea8e82a8807df4471f9 (patch)
treee9b2a283091a6c6f34ebdf9a3f8df39160900c48
parent75fb6fdbc4b12139fd9ee787c352640b23029e3f (diff)
parent8fcf43391491d0ac6dcd0115fea17c2a654fe91b (diff)
Merge pull request #45199 from nextcloud/backport/45196/stable29stable29
-rw-r--r--lib/private/legacy/OC_Image.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_Image.php b/lib/private/legacy/OC_Image.php
index 48f1812038b..c7e278c985f 100644
--- a/lib/private/legacy/OC_Image.php
+++ b/lib/private/legacy/OC_Image.php
@@ -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) {