Skip to content

Commit c78ecc9

Browse files
committed
minor #16153 [Form] Minor (ThomasLandauer)
This PR was squashed before being merged into the 5.4 branch. Discussion ---------- [Form] Minor Commits ------- 14e521e [Form] Minor
2 parents 0cb3199 + 14e521e commit c78ecc9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/forms/types/enum.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Example Usage
3131

3232
Before using this field, you'll need to have some PHP enumeration (or "enum" for
3333
short) defined somewhere in your application. This enum has to be of type
34-
"backed enum", where each keyword defines a scalar value such a string::
34+
"backed enum", where each keyword defines a scalar value such as a string::
3535

3636
// src/Config/TextAlign.php
3737
namespace App\Config;
@@ -53,8 +53,8 @@ Instead of using the values of the enumeration in a ``choices`` option, the
5353
$builder->add('alignment', EnumType::class, ['class' => TextAlign::class]);
5454

5555
This will display a ``<select>`` tag with the three possible values defined in
56-
the ``TextAlign`` enum. Use the ``expanded`` and ``multiple`` options to display
57-
these values as ``<input type="checkbox">`` and ``<input type="radio">``.
56+
the ``TextAlign`` enum. Use the `expanded`_ and `multiple`_ options to display
57+
these values as ``<input type="checkbox">`` or ``<input type="radio">``.
5858

5959
Field Options
6060
-------------

0 commit comments

Comments
 (0)