Skip to content

Commit df014a7

Browse files
ahmed-bhsgreg0ire
andcommitted
Update docs/en/reference/basic-mapping.rst
Co-authored-by: Grégoire Paris <postmaster@greg0ire.fr>
1 parent 2f46d95 commit df014a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/en/reference/basic-mapping.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ Mapping PHP Enums
319319
.. versionadded:: 2.11
320320

321321
Doctrine natively supports mapping PHP backed enums to database columns.
322-
A backed enum is a PHP enum that has a scalar type (``string`` or ``int``)
322+
A backed enum is a PHP enum that the same scalar type (``string`` or ``int``)
323323
assigned to each case. Doctrine stores the scalar value in the database and
324324
converts it back to the enum instance when hydrating the entity.
325325

0 commit comments

Comments
 (0)