Passed
Pull Request — develop (#126)
by Timothy
06:13
created
src/services/OptimizedImages.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -385,11 +385,11 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.