@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | { |
| 19 | 19 | $model = $this->argument('model'); |
| 20 | 20 | $name = ''; |
| 21 | - if(strrpos($model, "\\") === false){ |
|
| 21 | + if (strrpos($model, "\\") === false) { |
|
| 22 | 22 | $name = $model; |
| 23 | 23 | $model = "App\\" . $model; |
| 24 | 24 | } else { |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | ->get(); |
| 35 | 35 | |
| 36 | 36 | $this->save($content, "./app/Http/Controllers/{$controller}.php", "{$controller}"); |
| 37 | - if(! $this->option('no-routes')){ |
|
| 37 | + if (!$this->option('no-routes')) { |
|
| 38 | 38 | $options = [ |
| 39 | 39 | 'resource' => \Illuminate\Support\Str::snake($name, '-'), |
| 40 | 40 | '--controller' => $controller, |