]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/Mimetype.php
Merge pull request #11973 from MrPetovan/task/test-fixDateFormat
[friendica.git] / src / Util / Mimetype.php
index 5b50324b41365e268844a07a515a370f45fb2c17..df6cf33f7b9944e90bbd2fc6e4266702695f0286 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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 = [