@@ -30,7 +30,9 @@ |
||
30 | 30 | |
31 | 31 | protected function loadComponents() |
32 | 32 | { |
33 | - if (! class_exists('Livewire')) return false; |
|
33 | + if (! class_exists('Livewire')) { |
|
34 | + return false; |
|
35 | + } |
|
34 | 36 | |
35 | 37 | $modules = \Module::toCollection(); |
36 | 38 |
@@ -124,7 +124,9 @@ discard block |
||
124 | 124 | ->map([\Str::class, 'kebab']) |
125 | 125 | ->implode('/'); |
126 | 126 | |
127 | - if ($this->option('view')) $path = strtr($this->option('view'), ['.' => '/']); |
|
127 | + if ($this->option('view')) { |
|
128 | + $path = strtr($this->option('view'), ['.' => '/']); |
|
129 | + } |
|
128 | 130 | |
129 | 131 | $name = strtr($path, ['/' => '.']); |
130 | 132 | |
@@ -168,7 +170,9 @@ discard block |
||
168 | 170 | |
169 | 171 | protected function createView($force = false, $inline = false) |
170 | 172 | { |
171 | - if ($inline) return false; |
|
173 | + if ($inline) { |
|
174 | + return false; |
|
175 | + } |
|
172 | 176 | |
173 | 177 | $viewPath = $this->component->view->file; |
174 | 178 |