mirror of
https://github.com/nextcloud/server.git
synced 2026-04-28 01:28:08 -04:00
fix(OC_Image): Set correct return type for exif_imagetype stub
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
bf9c3c6a44
commit
7d2515f298
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue