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 | Description |
---|---|---|---|
$file |
string |
– | |
$mime |
string |
null |
|
$extension |
string |
null |
Return type
string
|null