diff options
Diffstat (limited to 'includes/libs/mime/MimeAnalyzer.php')
-rw-r--r-- | includes/libs/mime/MimeAnalyzer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/libs/mime/MimeAnalyzer.php b/includes/libs/mime/MimeAnalyzer.php index 6487c385ded1..6c12c96210e0 100644 --- a/includes/libs/mime/MimeAnalyzer.php +++ b/includes/libs/mime/MimeAnalyzer.php @@ -952,7 +952,7 @@ class MimeAnalyzer implements LoggerAwareInterface { * @param string|null $mime MIME type. If null it will be guessed using guessMimeType. * @return string A value to be used with the MEDIATYPE_xxx constants. */ - public function getMediaType( string $path = null, string $mime = null ): string { + public function getMediaType( ?string $path = null, ?string $mime = null ): string { if ( !$mime && !$path ) { return MEDIATYPE_UNKNOWN; } |