Passed
Push — master ( a9c4cd...54141f )
by Aimeos
06:37
created
lib/mwlib/src/MW/Media/Factory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 		$mime = explode( '/', $mimetype );
50 50
 
51 51
 		$type = ( $mime[0] === 'image' ? 'Image' : 'Application' );
52
-		$name = ( isset( $options[ $mime[0] ]['name'] ) ? ucfirst( $options[ $mime[0] ]['name'] ) : 'Standard' );
52
+		$name = ( isset( $options[$mime[0]]['name'] ) ? ucfirst( $options[$mime[0]]['name'] ) : 'Standard' );
53 53
 
54 54
 		if( in_array( $mimetype, ['image/svg', 'image/svg+xml'] )
55 55
 			|| in_array( $mimetype, ['application/gzip', 'application/x-gzip'] )
Please login to merge, or discard this patch.