@@ -385,11 +385,11 @@ |
||
385 | 385 | } |
386 | 386 | $width = $variant['width'] * $retinaSize; |
387 | 387 | $transform->width = $width; |
388 | - $transform->height = (int)($width / $aspectRatio); |
|
388 | + $transform->height = (int) ($width / $aspectRatio); |
|
389 | 389 | // Image quality |
390 | 390 | $quality = $variant['quality'] ?? null; |
391 | 391 | if ($settings->lowerQualityRetinaImageVariants && $retinaSize != '1') { |
392 | - $quality = (int)($quality * (1.5 / (int)$retinaSize)); |
|
392 | + $quality = (int) ($quality * (1.5 / (int) $retinaSize)); |
|
393 | 393 | } |
394 | 394 | $transform->quality = $quality; |
395 | 395 | // Interlaced (progressive JPEGs or interlaced PNGs) |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | // The optional security token used to sign image URLs from Imgix |
38 | 38 | 'imgixSecurityToken' => '', |
39 | 39 | |
40 | - // Base URL for Thumbor transform service |
|
40 | + // Base URL for Thumbor transform service |
|
41 | 41 | 'thumborBaseUrl' => '', |
42 | 42 | |
43 | 43 | // The optional security key used by Thumbor to create secure image URLs |
@@ -59,8 +59,8 @@ discard block |
||
59 | 59 | // It takes a bit of time, so if you never plan to use it, you can turn it off |
60 | 60 | 'createColorPalette' => true, |
61 | 61 | |
62 | - // Controls whether SVG placeholder silhouettes should be created for image variants |
|
63 | - // It takes a bit of time, so if you never plan to use them, you can turn it off |
|
62 | + // Controls whether SVG placeholder silhouettes should be created for image variants |
|
63 | + // It takes a bit of time, so if you never plan to use them, you can turn it off |
|
64 | 64 | 'createPlaceholderSilhouettes' => true, |
65 | 65 | |
66 | 66 | // Controls whether retina images are automatically created with reduced quality |