minor #10174 [Console] Option can be bool too (eg. --force) (Jmoati)
This PR was submitted for the 2.3-dev branch but it was merged into the 2.3 branch instead (closes #10174). Discussion ---------- [Console] Option can be bool too (eg. --force) Bug fix: no Feature addition: no Backwards compatibility break: no Symfony2 tests pass: yes License of the code: MIT Commits ------- aa87eeb Option can be bool too (eg. --force)
This commit is contained in:
commit
7d07d24bfd
@ -186,7 +186,7 @@ abstract class Input implements InputInterface
|
||||
* Sets an option value by name.
|
||||
*
|
||||
* @param string $name The option name
|
||||
* @param string $value The option value
|
||||
* @param string|boolean $value The option value
|
||||
*
|
||||
* @throws \InvalidArgumentException When option given doesn't exist
|
||||
*/
|
||||
|
@ -121,7 +121,7 @@ interface InputInterface
|
||||
* Sets an option value by name.
|
||||
*
|
||||
* @param string $name The option name
|
||||
* @param string $value The option value
|
||||
* @param string|boolean $value The option value
|
||||
*
|
||||
* @throws \InvalidArgumentException When option given doesn't exist
|
||||
*/
|
||||
|
Reference in New Issue
Block a user