Skip to content

Commit 596e2e0

Browse files
authored
Update serializer.rst
fix CI
1 parent 3e1e84c commit 596e2e0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

components/serializer.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,9 +1101,8 @@ always as a collection.
11011101

11021102
You may need to add some attributes on the root node. This can be done this way :
11031103

1104-
.. code-block:: PHP
1104+
.. code-block:: php
11051105
1106-
<?php
11071106
$encoder = new XmlEncoder();
11081107
$encoder->encode([
11091108
'@attribute1' => 'foo',
@@ -1113,7 +1112,7 @@ always as a collection.
11131112
11141113
This will generate the following XML :
11151114

1116-
.. code-block:: XML
1115+
.. code-block:: xml
11171116
11181117
<?xml version="1.0"?>
11191118
<response attribute1="foo" attribute2="bar">

0 commit comments

Comments
 (0)