Skip to content

Commit f8a8ca2

Browse files
authored
Update docs/en/reference/basic-mapping.rst
1 parent 0a6ea77 commit f8a8ca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/reference/basic-mapping.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ Date Fields
459459
MongoDB has a specific database type to store date and time values. You should never
460460
use a string to store a date. To define a date field, use the property types
461461
``DateTime`` or ``DateTimeImmutable`` so that Doctrine maps it to a BSON date.
462-
The ``date`` and ``date_immutable`` mapping types can be used explicitly,
462+
The ``date`` and ``date_immutable`` mapping types can be used explicitly;
463463
they are required only if the property type is ``DateTimeInterface`` or not set.
464464

465465
.. configuration-block::

0 commit comments

Comments
 (0)