8000 [Console] fixed typo in phpdoc by nicolas-grekas · Pull Request #26019 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Console] fixed typo in phpdoc #26019

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Symfony/Component/Console/Command/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ protected function interact(InputInterface $input, OutputInterface $output)
}

/**
* Initializes the command just after the input has been validated.
* Initializes the command before the input is validated.
Copy link
Member
@chalasr chalasr Feb 2, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually most part of the input validation happens in Input::bind() before that initialize() is called, Input:: validate() is then called. I would reword it relying on method names

*
* This is mainly useful when a lot of commands extends one main command
* where some things need to be initialized based on the input arguments and options.
Expand Down
0