Mime::fix()
Fixes an invalid MIME type guess for the given file
Mime::fix(string $file, ?string $mime = null, ?string $extension = null): string|null
Parameters
Name | Type | Default |
---|---|---|
$file * | string |
– |
$mime | string |null |
null |
$extension | string |null |
null |
Return type
string
|null