@@ -21,7 +21,7 @@ |
||
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 | public function getClasses($target = null): array |
26 | 26 | { |
27 | 27 | return [ |
@@ -42,7 +42,7 @@ |
||
42 | 42 | ? $class::DESCRIPTION |
43 | 43 | : '', |
44 | 44 | false, |
45 | - function () use ($class): SymfonyCommand { |
|
45 | + function () use ($class) : SymfonyCommand { |
|
46 | 46 | $command = $this->container->get($class); |
47 | 47 | $command->setContainer($this->container); |
48 | 48 |
@@ -41,7 +41,7 @@ |
||
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 | $commands[] = $this->supportsLazyLoading($command) |
46 | 46 | ? $this->createLazyCommand($command) |
47 | 47 | : $this->container->get($command); |