Skip to content

Commit 28ccb7f

Browse files
committed
fix syntax
1 parent 9d5fe51 commit 28ccb7f

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
@@ -504,9 +504,7 @@ The ``inline`` argument is the level where you switch to inline YAML:
504504
{{ array|yaml_encode(1) }}
505505
{# output: a: { c: e } b: { d: f } #}
506506
507-
The ``dumpObjects`` argument is used to dump objects:
508-
509-
.. code-block:: php
507+
The ``dumpObjects`` argument is used to dump objects::
510508

511509
// ...
512510
$object = new \stdClass();
@@ -559,9 +557,7 @@ The ``inline`` argument is the level where you switch to inline YAML:
559557
{{ array|yaml_dump(1) }}
560558
{# output: %array% a: { c: e } b: { d: f } #}
561559
562-
The ``dumpObjects`` argument is used to dump objects:
563-
564-
.. code-block:: php
560+
The ``dumpObjects`` argument is used to dump objects::
565561

566562
// ...
567563
$object = new \stdClass();

0 commit comments

Comments
 (0)