[stable15] Fix to strict typehint in FileMimeType

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2019-10-30 20:59:43 +01:00
parent ed8f3df9d7
commit fae637b9b4
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class FileMimeType extends AbstractStringCheck {
* @param string $mimeType
* @return string
*/
protected function cacheAndReturnMimeType(string $storageId, string $path, string $mimeType): string {
protected function cacheAndReturnMimeType(string $storageId, $path, string $mimeType): string {
if ($path !== null && $this->storage->file_exists($path)) {
$this->mimeType[$storageId][$path] = $mimeType;
}