@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | |
14 | 14 | public function handle() |
15 | 15 | { |
16 | - if (! is_string($this->argument('name'))) { |
|
16 | + if (!is_string($this->argument('name'))) { |
|
17 | 17 | return; |
18 | 18 | } |
19 | 19 | |
@@ -94,10 +94,10 @@ discard block |
||
94 | 94 | } |
95 | 95 | |
96 | 96 | foreach (config('api-toolkit.controllers') as $controller) { |
97 | - $this->comment("Creating {$controller['name']} for model {$name}"); |
|
97 | + $this->comment("Creating {$controller[ 'name' ]} for model {$name}"); |
|
98 | 98 | $this->call('make:controller', [ |
99 | - 'name' => "{$name}\\{$controller['name']}", |
|
100 | - implode(' ', $controller['options']), |
|
99 | + 'name' => "{$name}\\{$controller[ 'name' ]}", |
|
100 | + implode(' ', $controller[ 'options' ]), |
|
101 | 101 | ]); |
102 | 102 | } |
103 | 103 | } |