@@ -15,7 +15,7 @@ |
||
| 15 | 15 | |
| 16 | 16 | public function __construct(array $adapterConfiguration, VariableParser $variableParser) |
| 17 | 17 | { |
| 18 | - if (! $this->isValid($adapterConfiguration)) { |
|
| 18 | + if (!$this->isValid($adapterConfiguration)) { |
|
| 19 | 19 | throw InvalidConfiguration::invalidAdapterConfiguration('collection', '`variable` and `parameter`'); |
| 20 | 20 | } |
| 21 | 21 | |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | $template = $value['template'] ?? null; |
| 26 | 26 | $variables = $value['variables'] ?? []; |
| 27 | 27 | |
| 28 | - if (! $id || ! $template) { |
|
| 28 | + if (!$id || !$template) { |
|
| 29 | 29 | throw InvalidConfiguration::pageIdAndTemplateRequired(); |
| 30 | 30 | } |
| 31 | 31 | |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | $this->alt = $alt; |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | - public static function make(string $src, ?string $sizes = null, ?string $alt = null): Image |
|
| 19 | + public static function make(string $src, ?string $sizes = null, ?string $alt = null) : Image |
|
| 20 | 20 | { |
| 21 | 21 | return new self($src, $sizes, $alt); |
| 22 | 22 | } |