Skip to content

Commit 896b814

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Fix assert statement
2 parents 3b4a014 + c78ecc9 commit 896b814

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
@@ -27,7 +27,7 @@ Example Usage
2727

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

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

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

5555
Field Options
5656
-------------

0 commit comments

Comments
 (0)