@@ -32,13 +32,13 @@ discard block |
||
32 | 32 | { |
33 | 33 | $selected = $this->parseSelection(); |
34 | 34 | |
35 | - if (! Homepages::exists($selected)) { |
|
35 | + if (!Homepages::exists($selected)) { |
|
36 | 36 | $this->error("Homepage $selected does not exist."); |
37 | 37 | |
38 | 38 | return 404; |
39 | 39 | } |
40 | 40 | |
41 | - if (! $this->canExistingFileBeOverwritten()) { |
|
41 | + if (!$this->canExistingFileBeOverwritten()) { |
|
42 | 42 | $this->error('A modified index.blade.php file already exists. Use --force to overwrite.'); |
43 | 43 | |
44 | 44 | return 409; |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | |
70 | 70 | protected function formatPublishableChoices(): array |
71 | 71 | { |
72 | - return $this->getTemplateOptions()->map(function (array $option, string $key): string { |
|
72 | + return $this->getTemplateOptions()->map(function(array $option, string $key): string { |
|
73 | 73 | return "<comment>$key</comment>: {$option['description']}"; |
74 | 74 | })->values()->toArray(); |
75 | 75 | } |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | return true; |
91 | 91 | } |
92 | 92 | |
93 | - if (! file_exists(Hyde::getBladePagePath('index.blade.php'))) { |
|
93 | + if (!file_exists(Hyde::getBladePagePath('index.blade.php'))) { |
|
94 | 94 | return true; |
95 | 95 | } |
96 | 96 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | { |
18 | 18 | $path = static::getOutputPath(); |
19 | 19 | |
20 | - if (file_exists($path) && ! $force) { |
|
20 | + if (file_exists($path) && !$force) { |
|
21 | 21 | return false; |
22 | 22 | } |
23 | 23 |