Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarah-eit committed Jun 17, 2024
1 parent 9d5fe51 commit 28ccb7f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions reference/twig_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -504,9 +504,7 @@ The ``inline`` argument is the level where you switch to inline YAML:
{{ array|yaml_encode(1) }}
{# output: a: { c: e } b: { d: f } #}
The ``dumpObjects`` argument is used to dump objects:

.. code-block:: php
The ``dumpObjects`` argument is used to dump objects::

// ...
$object = new \stdClass();
Expand Down Expand Up @@ -559,9 +557,7 @@ The ``inline`` argument is the level where you switch to inline YAML:
{{ array|yaml_dump(1) }}
{# output: %array% a: { c: e } b: { d: f } #}
The ``dumpObjects`` argument is used to dump objects:

.. code-block:: php
The ``dumpObjects`` argument is used to dump objects::

// ...
$object = new \stdClass();
Expand Down

0 comments on commit 28ccb7f

Please sign in to comment.