@@ -367,7 +367,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 { |