@@ -21,14 +21,14 @@ |
||
| 21 | 21 | $commands = $config['commands'] ?? []; |
| 22 | 22 | $lazyCommands = []; |
| 23 | 23 | foreach ($commands as $name => $command) { |
| 24 | - $lazyCommands[$name] = static function () use ($command, $container): Command { |
|
| 24 | + $lazyCommands[$name] = static function() use ($command, $container): Command { |
|
| 25 | 25 | return $container->get($command); |
| 26 | 26 | }; |
| 27 | 27 | } |
| 28 | 28 | $console->setCommandLoader(new FactoryCommandLoader($lazyCommands)); |
| 29 | 29 | array_walk( |
| 30 | 30 | $config['helper-sets'], |
| 31 | - static function (string $helperSet) use ($console, $container): void { |
|
| 31 | + static function(string $helperSet) use ($console, $container): void { |
|
| 32 | 32 | $console->setHelperSet($container->get($helperSet)); |
| 33 | 33 | } |
| 34 | 34 | ); |