Skip to content

Commit 49e6f8b

Browse files
author
gr8b
committed
fixed issues reported by Lint (DOCtor-RST)
1 parent 84a55c0 commit 49e6f8b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/yaml.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -441,14 +441,14 @@ By default, digit-only array keys are dumped as integers. You can use the
441441
// '200': foo
442442

443443
Dumping Collection of Maps
444-
~~~~~~~~~~~~~~~~~~~~~~~~~~~
444+
~~~~~~~~~~~~~~~~~~~~~~~~~~
445445

446446
By default, the collection of maps uses a hyphen on a separate line as a delimiter.
447447
To use the delimiter line as part of the map dump, use the ``Yaml::DUMP_COMPACT_NESTED_MAPPING`` flag.
448448

449449
Dump without flag set:
450450

451-
.. code-block:: text
451+
::
452452

453453
planets:
454454
-
@@ -460,11 +460,11 @@ Dump without flag set:
460460

461461
Dump with ``Yaml::DUMP_COMPACT_NESTED_MAPPING`` flag set:
462462

463-
.. code-block:: php
463+
::
464464

465465
$dumped = Yaml::dump(['planets' => $planets], 2, 0, Yaml::DUMP_COMPACT_NESTED_MAPPING);
466466

467-
.. code-block:: text
467+
::
468468

469469
planets:
470470
- name: Mercury

0 commit comments

Comments
 (0)