Test Setup Failed
Branch main (3366d4)
by Stephen
10:38
created
Category
src/Console/Commands/ResourceMakeCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -81,10 +81,10 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.