Skip to content

Commit aca42f1

Browse files
authored
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.
1 parent 99ac313 commit aca42f1

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
@@ -336,8 +336,6 @@ console::
336336
$command = $application->find('app:create-user');
337337
$commandTester = new CommandTester($command);
338338
$commandTester->execute([
339-
'command' => $command->getName(),
340-
341339
// pass arguments to the helper
342340
'username' => 'Wouter',
343341

0 commit comments

Comments
 (0)