Skip to content

Commit

Permalink
fix(OC_Image): Set correct return type for exif_imagetype stub
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <kate@provokateurin.de>
  • Loading branch information
provokateurin authored and backportbot[bot] committed May 6, 2024
1 parent afe8b9b commit f49e344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/legacy/OC_Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@ public function __destruct() {
*
* @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) {
Expand Down

0 comments on commit f49e344

Please sign in to comment.