File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ to display it can be customized::
301301
302302.. caution ::
303303
304- For performance reasons, Symfony redraws screen every 100ms. If this is too
304+ For performance reasons, Symfony redraws the screen once every 100ms. If this is too
305305 fast or to slow for your application, use the methods
306306 :method: `Symfony\\ Component\\ Console\\ Helper\\ ProgressBar::minSecondsBetweenRedraws ` and
307307 :method: `Symfony\\ Component\\ Console\\ Helper\\ ProgressBar::maxSecondsBetweenRedraws `::
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ option is the default one.
123123If the user enters an invalid string, an error message is shown and the user
124124is asked to provide the answer another time, until they enter a valid string
125125or reach the maximum number of attempts. The default value for the maximum number
126- of attempts is ``null ``, which means infinite number of attempts. You can define
126+ of attempts is ``null ``, which means an infinite number of attempts. You can define
127127your own error message using
128128:method: `Symfony\\ Component\\ Console\\ Question\\ ChoiceQuestion::setErrorMessage `.
129129
@@ -367,7 +367,7 @@ was successful.
367367You can set the max number of times to ask with the
368368:method: `Symfony\\ Component\\ Console\\ Question\\ Question::setMaxAttempts ` method.
369369If you reach this max number it will use the default value. Using ``null `` means
370- the amount of attempts is infinite. The user will be asked as long as they provide an
370+ the number of attempts is infinite. The user will be asked as long as they provide an
371371invalid answer and will only be able to proceed if their input is valid.
372372
373373Validating a Hidden Response
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ The output of this command will be:
147147 | 99921 | Divine Com | Dante Alighieri |
148148 | -58-1 | edy | |
149149 | 0-7 | | |
150- | (the rest of rows...) |
150+ | (the rest of the rows...) |
151151 +-------+------------+--------------------------------+
152152
153153 The table style can be changed to any built-in styles via
@@ -350,7 +350,7 @@ This outputs:
350350 | 978-0804169127 | Divine Comedy | spans multiple rows |
351351 +----------------+---------------+---------------------+
352352
353- You can use the ``colspan `` and ``rowspan `` options at the same time which allows
353+ You can use the ``colspan `` and ``rowspan `` options at the same time, which allows
354354you to create any table layout you may wish.
355355
356356.. _console-modify-rendered-tables :
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Building a single Command Application
55=====================================
66
77When building a command line tool, you may not need to provide several commands.
8- In such case, having to pass the command name each time is tedious. Fortunately,
8+ In such a case, having to pass the command name each time is tedious. Fortunately,
99it is possible to remove this need by declaring a single command application::
1010
1111 #!/usr/bin/env php
@@ -30,7 +30,7 @@ it is possible to remove this need by declaring a single command application::
3030 ->run();
3131
3232The :method: `Symfony\\ Component\\ Console\\ Application::setDefaultCommand ` method
33- accepts a boolean as second parameter. If true, the command ``echo `` will then
33+ accepts a boolean as the second parameter. If true, the command ``echo `` will then
3434always be used, without having to pass its name.
3535
3636You can still register a command as usual::
You can’t perform that action at this time.
0 commit comments