You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 argument
0 commit comments