@@ -384,7 +384,7 @@ discard block |
||
384 | 384 | * @param array $options |
385 | 385 | * @return \Twig\Markup |
386 | 386 | */ |
387 | - public function imgTag($lazyLoad = false, $options = [], ) |
|
387 | + public function imgTag($lazyLoad = false, $options = [],) |
|
388 | 388 | { |
389 | 389 | // Merge the passed in options with the tag attributes |
390 | 390 | $attrs = array_merge([ |
@@ -453,7 +453,7 @@ discard block |
||
453 | 453 | */ |
454 | 454 | public function getPlaceholderImage(): string |
455 | 455 | { |
456 | - return (string)$this->placeholderImage(); |
|
456 | + return (string) $this->placeholderImage(); |
|
457 | 457 | } |
458 | 458 | |
459 | 459 | /** |
@@ -490,7 +490,7 @@ discard block |
||
490 | 490 | */ |
491 | 491 | public function getPlaceholderBox(string $color = null): string |
492 | 492 | { |
493 | - return (string)$this->placeholderBox($color); |
|
493 | + return (string) $this->placeholderBox($color); |
|
494 | 494 | } |
495 | 495 | |
496 | 496 | /** |
@@ -531,7 +531,7 @@ discard block |
||
531 | 531 | */ |
532 | 532 | public function getPlaceholderSilhouette(): string |
533 | 533 | { |
534 | - return (string)$this->placeholderSilhouette(); |
|
534 | + return (string) $this->placeholderSilhouette(); |
|
535 | 535 | } |
536 | 536 | |
537 | 537 | /** |
@@ -643,10 +643,10 @@ discard block |
||
643 | 643 | foreach ($array as $key => $value) { |
644 | 644 | if ($dpr) { |
645 | 645 | $descriptor = '1x'; |
646 | - if (!empty($array[(int)$key / 2])) { |
|
646 | + if (!empty($array[(int) $key / 2])) { |
|
647 | 647 | $descriptor = '2x'; |
648 | 648 | } |
649 | - if (!empty($array[(int)$key / 3])) { |
|
649 | + if (!empty($array[(int) $key / 3])) { |
|
650 | 650 | $descriptor = '3x'; |
651 | 651 | } |
652 | 652 | } else { |