Passed
Push — master ( c8e011...f827e6 )
by Aimeos
05:04
created
src/MShop/Media/Manager/Preview.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,9 +56,9 @@
 block discarded – undo
56 56
 			if( $this->call( 'filterPreviews', $image, $maxwidth, $maxheight, $force ) )
57 57
 			{
58 58
 				$file = match( $force ) {
59
-					0 => (clone $image)->scaleDown( $maxwidth, $maxheight ),
60
-					1 => (clone $image)->pad( $maxwidth, $maxheight, $bg, 'center' ),
61
-					2 => (clone $image)->cover( $maxwidth, $maxheight )
59
+					0 => ( clone $image )->scaleDown( $maxwidth, $maxheight ),
60
+					1 => ( clone $image )->pad( $maxwidth, $maxheight, $bg, 'center' ),
61
+					2 => ( clone $image )->cover( $maxwidth, $maxheight )
62 62
 				};
63 63
 
64 64
 				$list[$file->width()] = $file;
Please login to merge, or discard this patch.