Completed
Pull Request — master (#1150)
by
unknown
01:41
created
src/Livewire/LivewireServiceProvider.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,9 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Commands/LivewireCommand.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,7 +124,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.