Skip to content

Commit 6c67c6e

Browse files
committed
minor #12652 remove 'command' from execute argument (aldenw)
This PR was submitted for the 4.3 branch but it was merged into the 3.4 branch instead (closes #12652). Discussion ---------- remove 'command' from execute argument Including the 'command' argument triggers an exception, "Symfony\Component\Console\Exception\InvalidArgumentException : The "command" argument does not exist.", needs to be removed. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 9030c6b remove 'command' from execute argument
2 parents d7adc5a + 9030c6b commit 6c67c6e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

console.rst

-2
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,6 @@ console::
286286
$command = $application->find('app:create-user');
287287
$commandTester = new CommandTester($command);
288288
$commandTester->execute([
289-
'command' => $command->getName(),
290-
291289
// pass arguments to the helper
292290
'username' => 'Wouter',
293291

0 commit comments

Comments
 (0)