mirror of
https://github.com/yiisoft/yii2.git
synced 2026-02-20 00:32:19 +01:00
Fix codestyle in mimeTypes.php (#20703)
This commit is contained in:
@@ -133,7 +133,7 @@ class MimeTypeController extends Controller
|
||||
|
||||
# fix for bundled libmagic bug, see also https://github.com/yiisoft/yii2/issues/19925
|
||||
if ((PHP_VERSION_ID >= 80100 && PHP_VERSION_ID < 80122) || (PHP_VERSION_ID >= 80200 && PHP_VERSION_ID < 80209)) {
|
||||
\$mimeTypes = array_replace(\$mimeTypes, array('xz' => 'application/octet-stream'));
|
||||
\$mimeTypes = array_replace(\$mimeTypes, ['xz' => 'application/octet-stream']);
|
||||
}
|
||||
|
||||
return \$mimeTypes;
|
||||
|
||||
Reference in New Issue
Block a user