Skip to content

Commit 5764a00

Browse files
wouterjfabpot
authored andcommitted
[Console] Fix bug with overloading
1 parent fe6e9e4 commit 5764a00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/ServerStartCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected function configure()
7474
*/
7575
protected function execute(InputInterface $input, OutputInterface $output)
7676
{
77-
$output = new SymfonyStyle($input, $output);
77+
$output = new SymfonyStyle($input, $cliOutput = $output);
7878

7979
if (!extension_loaded('pcntl')) {
8080
$output->error(array(
@@ -85,7 +85,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
8585
if ($output->ask('Do you want to execute <info>server:run</info> immediately? [Yn] ', true)) {
8686
$command = $this->getApplication()->find('server:run');
8787

88-
return $command->run($input, $output);
88+
return $command->run($input, $cliOutput);
8989
}
9090

9191
return 1;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy