File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ which will be responsible for returning ``Command`` instances::
2121 use Symfony\Component\Console\CommandLoader\FactoryCommandLoader;
2222
2323 $commandLoader = new FactoryCommandLoader(array(
24- 'app:heavy' => function () { return new HeavyCommand() },
24+ 'app:heavy' => function () { return new HeavyCommand(); },
2525 ));
2626
2727 $application = new Application();
@@ -51,7 +51,7 @@ array of ``Command`` factories as its only constructor argument::
5151 use Symfony\Component\Console\CommandLoader\FactoryCommandLoader;
5252
5353 $commandLoader = new FactoryCommandLoader(array(
54- 'app:foo' => function () { return new FooCommand() },
54+ 'app:foo' => function () { return new FooCommand(); },
5555 'app:bar' => array(BarCommand::class, 'create'),
5656 ));
5757
You can’t perform that action at this time.
0 commit comments