@@ -21,7 +21,8 @@ |
||
| 21 | 21 | public function testLazyCommandCreationInCommandLocator(): void |
| 22 | 22 | { |
| 23 | 23 | $locator = new CommandLocator( |
| 24 | - new class() implements ClassesInterface { |
|
| 24 | + new class() implements ClassesInterface |
|
| 25 | + { |
|
| 25 | 26 | public function getClasses($target = null): array |
| 26 | 27 | { |
| 27 | 28 | return [ |
@@ -41,7 +41,8 @@ |
||
| 41 | 41 | public function locateCommands(): array |
| 42 | 42 | { |
| 43 | 43 | $commands = []; |
| 44 | - foreach ($this->commands as $command) { |
|
| 44 | + foreach ($this->commands as $command) |
|
| 45 | + { |
|
| 45 | 46 | $commands[] = $this->supportsLazyLoading($command) |
| 46 | 47 | ? $this->createLazyCommand($command) |
| 47 | 48 | : $this->container->get($command); |