Completed
Push — master ( 340cd1...8170f1 )
by Sergi Tur
03:04
created
src/Console/AdminLTERoute.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -278,7 +278,9 @@  discard block
 block discarded – undo
278 278
         if ($this->argument('action') != null) {
279 279
             return $this->argument('action');
280 280
         }
281
-        if (strtolower($this->option('type')) != 'regular' ) return $this->argument('link') . 'Controller';
281
+        if (strtolower($this->option('type')) != 'regular' ) {
282
+            return $this->argument('link') . 'Controller';
283
+        }
282 284
         return $this->argument('link');
283 285
     }
284 286
 
@@ -342,7 +344,9 @@  discard block
 block discarded – undo
342 344
      */
343 345
     protected function createView($name = null)
344 346
     {
345
-        if ($name == null) $name = $this->action();
347
+        if ($name == null) {
348
+            $name = $this->action();
349
+        }
346 350
         Artisan::call('make:view', [
347 351
             'name' => $name
348 352
         ]);
Please login to merge, or discard this patch.