summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-05-06 13:32:09 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-05-06 12:07:58 +0000
commit7d2515f298cd4b6ab59cdff88b299582c9f68352 (patch)
tree61ed2336d5b275141849cbd5cabc013a56e6526a /lib/private
parentbf9c3c6a4488fd1af26e61527369ce36842fc1fb (diff)
downloadnextcloud-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.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 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) {