@@ -278,7 +278,9 @@ discard block |
||
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 |
||
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 | ]); |