mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/16955] Add missing docblocks and fix unclear ones
PHPBB3-16955
This commit is contained in:
@@ -329,7 +329,7 @@ class filespec
|
||||
* 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)
|
||||
{
|
||||
@@ -343,7 +343,7 @@ class filespec
|
||||
}
|
||||
}
|
||||
|
||||
return $this->mimetype;
|
||||
return $this->mimetype ?: '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user