diff --git a/components/console/changing_default_command.rst b/components/console/changing_default_command.rst index 757a0c9f88c..590cf3577e1 100644 --- a/components/console/changing_default_command.rst +++ b/components/console/changing_default_command.rst @@ -55,7 +55,7 @@ This will print the following to the command line: .. code-block:: text - Hello Fabien + Hello World .. tip:: diff --git a/components/console/helpers/questionhelper.rst b/components/console/helpers/questionhelper.rst index 6a745c09609..1d972a933c5 100644 --- a/components/console/helpers/questionhelper.rst +++ b/components/console/helpers/questionhelper.rst @@ -93,7 +93,7 @@ option is the default one. If the user enters an invalid string, an error message is shown and the user is asked to provide the answer another time, until they enter a valid string or reach the maximum number of attempts. The default value for the maximum number -of attempts is ``null``, which means infinite number attempts. You can define +of attempts is ``null``, which means infinite number of attempts. You can define your own error message using :method:`Symfony\\Component\\Console\\Question\\ChoiceQuestion::setErrorMessage`.