@@ -425,14 +425,14 @@ |
||
425 | 425 | } |
426 | 426 | $width = $variant['width'] * $retinaSize; |
427 | 427 | $transform->width = $width; |
428 | - $transform->height = (int)($width / $aspectRatio); |
|
428 | + $transform->height = (int) ($width / $aspectRatio); |
|
429 | 429 | // Image quality |
430 | - $quality = (int)($variant['quality'] ?? null); |
|
430 | + $quality = (int) ($variant['quality'] ?? null); |
|
431 | 431 | if (empty($quality)) { |
432 | 432 | $quality = null; |
433 | 433 | } |
434 | 434 | if ($quality !== null && $settings->lowerQualityRetinaImageVariants && $retinaSize != '1') { |
435 | - $quality = (int)($quality * (1.5 / (int)$retinaSize)); |
|
435 | + $quality = (int) ($quality * (1.5 / (int) $retinaSize)); |
|
436 | 436 | } |
437 | 437 | $transform->quality = $quality; |
438 | 438 | // Interlaced (progressive JPEGs or interlaced PNGs) |