diff --git a/src/Util/Mimetype.php b/src/Util/Mimetype.php index 658c4bd06e..b2d0e2641e 100644 --- a/src/Util/Mimetype.php +++ b/src/Util/Mimetype.php @@ -1077,8 +1077,7 @@ class Mimetype if (array_key_exists($ext, $mime_types)) { return $mime_types[$ext]; } - } else { - return 'application/octet-stream'; } + return 'application/octet-stream'; } }