@@ -56,9 +56,9 @@ |
||
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; |