Syntax fixes

This commit is contained in:
Wouter de Jong
2024-11-23 18:00:57 +01:00
parent 2bd48fbe41
commit 2f8a9d656d
2 changed files with 2 additions and 1 deletions

View File

@@ -1266,7 +1266,7 @@ normalizers (in order of priority):
:phpclass:`DateTime` and :phpclass:`DateTimeImmutable`) into strings,
integers or floats. By default, it converts them to strings using the
`RFC3339`_ format. Use ``DateTimeNormalizer::FORMAT_KEY`` and
`RFC 3339`_ format. Use ``DateTimeNormalizer::FORMAT_KEY`` and
``DateTimeNormalizer::TIMEZONE_KEY`` to change the format.
To convert the objects to integers or floats, set the serializer

View File

@@ -76,6 +76,7 @@ If you're not using ``autoconfigure``, you have to tag the service with
.. configuration-block::
.. code-block:: yaml
# config/services.yaml
services:
# ...