Skip to content

Commit a29d978

Browse files
committed
Merge branch '7.1' into 7.2
* 7.1: Syntax fixes
2 parents 6b365d6 + 2f8a9d6 commit a29d978

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

serializer.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1266,7 +1266,7 @@ normalizers (in order of priority):
12661266

12671267
:phpclass:`DateTime` and :phpclass:`DateTimeImmutable`) into strings,
12681268
integers or floats. By default, it converts them to strings using the
1269-
`RFC3339`_ format. Use ``DateTimeNormalizer::FORMAT_KEY`` and
1269+
`RFC 3339`_ format. Use ``DateTimeNormalizer::FORMAT_KEY`` and
12701270
``DateTimeNormalizer::TIMEZONE_KEY`` to change the format.
12711271

12721272
To convert the objects to integers or floats, set the serializer

serializer/custom_normalizer.rst

+1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ If you're not using ``autoconfigure``, you have to tag the service with
7676
.. configuration-block::
7777

7878
.. code-block:: yaml
79+
7980
# config/services.yaml
8081
services:
8182
# ...

0 commit comments

Comments
 (0)