1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/16955] Add missing docblocks and fix unclear ones

PHPBB3-16955
This commit is contained in:
Marc Alexander
2022-12-30 17:27:31 +01:00
parent 4284512594
commit fab81eca2b
7 changed files with 19 additions and 11 deletions

View File

@@ -313,7 +313,7 @@ class filespec_storage
* Get mime type
*
* @param string $filename Filename that needs to be checked
* @return string|false Mime type of supplied filename or false if mimetype could not be guessed
* @return string Mime type of supplied filename or empty string if mimetype could not be guessed
*/
public function get_mimetype($filename)
{
@@ -327,7 +327,7 @@ class filespec_storage
}
}
return $this->mimetype;
return $this->mimetype ?: '';
}
/**