@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | if (Image::canManipulateAsImage($finalFormat) |
120 | 120 | && Image::canManipulateAsImage($finalFormat) |
121 | 121 | && $asset->height > 0) { |
122 | - $variant = [ |
|
122 | + $variant = [ |
|
123 | 123 | 'width' => $asset->width, |
124 | 124 | 'useAspectRatio' => false, |
125 | 125 | 'aspectRatioX' => $asset->width, |
@@ -201,11 +201,11 @@ discard block |
||
201 | 201 | } |
202 | 202 | $width = $variant['width'] * $retinaSize; |
203 | 203 | $transform->width = $width; |
204 | - $transform->height = (int)($width / $aspectRatio); |
|
204 | + $transform->height = (int) ($width / $aspectRatio); |
|
205 | 205 | // Image quality |
206 | 206 | $quality = $variant['quality']; |
207 | 207 | if ($settings->lowerQualityRetinaImageVariants && $retinaSize != '1') { |
208 | - $quality = (int)($quality * (1.5 / (int)$retinaSize)); |
|
208 | + $quality = (int) ($quality * (1.5 / (int) $retinaSize)); |
|
209 | 209 | } |
210 | 210 | $transform->quality = $quality; |
211 | 211 | // Interlaced (progressive JPEGs or interlaced PNGs) |