Skip to content

Commit da8f6ea

Browse files
authored
Fix missing ; in the samples
1 parent b2c4d31 commit da8f6ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

console/lazy_commands.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)