Passed
Push — develop ( 81c5bb...b44475 )
by Andrew
04:39
created
src/models/OptimizedImage.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
      */
368 368
     public function getPlaceholderImage(): string
369 369
     {
370
-        return (string)$this->placeholderImage();
370
+        return (string) $this->placeholderImage();
371 371
     }
372 372
 
373 373
     /**
@@ -404,7 +404,7 @@  discard block
 block discarded – undo
404 404
      */
405 405
     public function getPlaceholderBox(string $color = null): string
406 406
     {
407
-        return (string)$this->placeholderBox($color);
407
+        return (string) $this->placeholderBox($color);
408 408
     }
409 409
 
410 410
     /**
@@ -445,7 +445,7 @@  discard block
 block discarded – undo
445 445
      */
446 446
     public function getPlaceholderSilhouette(): string
447 447
     {
448
-        return (string)$this->placeholderSilhouette();
448
+        return (string) $this->placeholderSilhouette();
449 449
     }
450 450
 
451 451
     /**
@@ -557,10 +557,10 @@  discard block
 block discarded – undo
557 557
         foreach ($array as $key => $value) {
558 558
             if ($dpr) {
559 559
                 $descriptor = '1x';
560
-                if (!empty($array[(int)$key / 2])) {
560
+                if (!empty($array[(int) $key / 2])) {
561 561
                     $descriptor = '2x';
562 562
                 }
563
-                if (!empty($array[(int)$key / 3])) {
563
+                if (!empty($array[(int) $key / 3])) {
564 564
                     $descriptor = '3x';
565 565
                 }
566 566
             } else {
Please login to merge, or discard this patch.