X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FMimetype.php;h=df6cf33f7b9944e90bbd2fc6e4266702695f0286;hb=fe442683efb8b75394d7df041716c47c81b05fbc;hp=d7a702d71c056a60ce1f89f7e4c56f0abafedf0e;hpb=e56a53647bd5469551bf4f9ef2df50a5dd16b943;p=friendica.git diff --git a/src/Util/Mimetype.php b/src/Util/Mimetype.php index d7a702d71c..df6cf33f7b 100644 --- a/src/Util/Mimetype.php +++ b/src/Util/Mimetype.php @@ -27,9 +27,10 @@ class Mimetype * Return mimetype based on file extension * * @param string $filename filename + * * @return mixed array or string */ - public static function getContentType($filename) + public static function getContentType(string $filename) { $mime_types = [