Commit 386ec7b
committed
minor #13645 [Console] Remove invalid argument (apfelbox)
This PR was submitted for the 5.0 branch but it was merged into the 4.4 branch instead.
Discussion
----------
[Console] Remove invalid argument
<!--
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).
-->
Passing in the command is only valid when passing the arguments to the application (https://symfony.com/doc/current/console/command_in_controller.html), not if we directly call the command.
This would currently result in an `InvalidArgumentException: The "command" argument does not exist.`
Commits
-------
d242734 Fix invalid argument1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
0 commit comments