Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 24a07fb

Browse files
committed
[FrameworkBundle] tweaked previous merge (refs #8242)
1 parent 3b06837 commit 24a07fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/Console/Application.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ public function doRun(InputInterface $input, OutputInterface $output)
6868
{
6969
if (!$this->commandsRegistered) {
7070
$this->registerCommands();
71+
72+
$this->commandsRegistered = true;
7173
}
7274

7375
if (true === $input->hasParameterOption(array('--shell', '-s'))) {
@@ -90,7 +92,5 @@ protected function registerCommands()
9092
$bundle->registerCommands($this);
9193
}
9294
}
93-
94-
$this->commandsRegistered = true;
9595
}
9696
}

0 commit comments

Comments
 (0)