Skip to content

Commit ca13f29

Browse files
committed
fix syntax
1 parent c418b22 commit ca13f29

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

reference/twig_reference.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -495,9 +495,7 @@ The ``inline`` argument is the level where you switch to inline YAML:
495495
{{ array|yaml_encode(1) }}
496496
{# output: a: { c: e } b: { d: f } #}
497497
498-
The ``dumpObjects`` argument is used to dump objects:
499-
500-
.. code-block:: php
498+
The ``dumpObjects`` argument is used to dump objects::
501499

502500
// ...
503501
$object = new \stdClass();
@@ -550,9 +548,7 @@ The ``inline`` argument is the level where you switch to inline YAML:
550548
{{ array|yaml_dump(1) }}
551549
{# output: %array% a: { c: e } b: { d: f } #}
552550
553-
The ``dumpObjects`` argument is used to dump objects:
554-
555-
.. code-block:: php
551+
The ``dumpObjects`` argument is used to dump objects::
556552

557553
// ...
558554
$object = new \stdClass();

0 commit comments

Comments
 (0)