Skip to content

Commit c19f55d

Browse files
committed
minor #16260 Correct spelling & grammar in 4.4 components/console/ (gnito-org)
This PR was merged into the 4.4 branch. Discussion ---------- Correct spelling & grammar in 4.4 components/console/ <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases 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 `5.x` for features of unreleased versions). --> Commits ------- fb5b71c Correct spelling & grammar in 4.4 components/console/
2 parents b0e7968 + fb5b71c commit c19f55d

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

components/console/helpers/progressbar.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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`::

components/console/helpers/questionhelper.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ option is the default one.
123123
If the user enters an invalid string, an error message is shown and the user
124124
is asked to provide the answer another time, until they enter a valid string
125125
or 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
127127
your own error message using
128128
:method:`Symfony\\Component\\Console\\Question\\ChoiceQuestion::setErrorMessage`.
129129

@@ -367,7 +367,7 @@ was successful.
367367
You can set the max number of times to ask with the
368368
:method:`Symfony\\Component\\Console\\Question\\Question::setMaxAttempts` method.
369369
If 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
371371
invalid answer and will only be able to proceed if their input is valid.
372372

373373
Validating a Hidden Response

components/console/helpers/table.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
354354
you to create any table layout you may wish.
355355

356356
.. _console-modify-rendered-tables:

components/console/single_command_tool.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Building a single Command Application
55
=====================================
66

77
When 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,
99
it 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

3232
The :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
3434
always be used, without having to pass its name.
3535

3636
You can still register a command as usual::

0 commit comments

Comments
 (0)