Skip to content

Commit 1bb4f64

Browse files
authored
FIx for YAML and Xml
1 parent 92cbb0b commit 1bb4f64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/serializer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ Here, we set it to 2 for the ``$child`` property:
802802
803803
Acme\MyObj:
804804
attributes:
805-
foo:
805+
child:
806806
max_depth: 2
807807
808808
.. code-block:: xml
@@ -814,7 +814,7 @@ Here, we set it to 2 for the ``$child`` property:
814814
http://symfony.com/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd"
815815
>
816816
<class name="Acme\MyObj">
817-
<attribute name="foo" max-depth="2" />
817+
<attribute name="child" max-depth="2" />
818818
</class>
819819
</serializer>
820820

0 commit comments

Comments
 (0)