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::
21
21
use Symfony\Component\Console\CommandLoader\FactoryCommandLoader;
22
22
23
23
$commandLoader = new FactoryCommandLoader(array(
24
- 'app:heavy' => function () { return new HeavyCommand() },
24
+ 'app:heavy' => function () { return new HeavyCommand(); },
25
25
));
26
26
27
27
$application = new Application();
@@ -51,7 +51,7 @@ array of ``Command`` factories as its only constructor argument::
51
51
use Symfony\Component\Console\CommandLoader\FactoryCommandLoader;
52
52
53
53
$commandLoader = new FactoryCommandLoader(array(
54
- 'app:foo' => function () { return new FooCommand() },
54
+ 'app:foo' => function () { return new FooCommand(); },
55
55
'app:bar' => array(BarCommand::class, 'create'),
56
56
));
57
57
You can’t perform that action at this time.
0 commit comments