Skip to content

Commit 7d53fbc

Browse files
[9.x] Remove argument assignment for console (#44888)
* Remove argument assignment for console * Apply fixes from StyleCI Co-authored-by: StyleCI Bot <[email protected]>
1 parent c3ed678 commit 7d53fbc

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/Illuminate/Console/Application.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
use Symfony\Component\Console\Application as SymfonyApplication;
1414
use Symfony\Component\Console\Command\Command as SymfonyCommand;
1515
use Symfony\Component\Console\Exception\CommandNotFoundException;
16-
use Symfony\Component\Console\Exception\ExceptionInterface;
1716
use Symfony\Component\Console\Input\ArgvInput;
1817
use Symfony\Component\Console\Input\ArrayInput;
1918
use Symfony\Component\Console\Input\InputDefinition;
@@ -94,14 +93,6 @@ public function run(InputInterface $input = null, OutputInterface $output = null
9493
$input = $input ?: new ArgvInput
9594
);
9695

97-
if (! is_null($commandName)) {
98-
try {
99-
$input->bind($this->find($commandName)->getDefinition());
100-
} catch (ExceptionInterface) {
101-
// ...
102-
}
103-
}
104-
10596
$this->events->dispatch(
10697
new CommandStarting(
10798
$commandName, $input, $output = $output ?: new BufferedConsoleOutput

0 commit comments

Comments
 (0)