]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/Mimetype.php
Converted multiple single-comment (//) to multi-line comment block (/* */)
[friendica.git] / src / Util / Mimetype.php
index 5b50324b41365e268844a07a515a370f45fb2c17..ca57648771532e7691a65c699ba5afb65c894e9b 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
  *
@@ -29,7 +29,7 @@ class Mimetype
         * @param string $filename filename
         * @return mixed array or string
         */
-       public static function getContentType($filename)
+       public static function getContentType(string $filename)
        {
                $mime_types = [