@@ -81,10 +81,10 @@ |
||
| 81 | 81 | protected function makeControllers(string $name): void |
| 82 | 82 | { |
| 83 | 83 | foreach (config('api-toolkit.controllers') as $controller) { |
| 84 | - $this->comment("Creating {$controller['name']} for model {$name}"); |
|
| 84 | + $this->comment("Creating {$controller[ 'name' ]} for model {$name}"); |
|
| 85 | 85 | $this->call('make:controller', [ |
| 86 | - 'name' => "{$name}\\{$controller['name']}", |
|
| 87 | - implode(' ', $controller['options']), |
|
| 86 | + 'name' => "{$name}\\{$controller[ 'name' ]}", |
|
| 87 | + implode(' ', $controller[ 'options' ]), |
|
| 88 | 88 | ]); |
| 89 | 89 | } |
| 90 | 90 | } |