Skip to content

Commit eac8365

Browse files
authored
Useless code in an example
1 parent 7db9d2e commit eac8365

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

components/yaml.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,6 @@ Similarly you can use ``DUMP_EXCEPTION_ON_INVALID_TYPE`` when dumping::
289289
$data = new \stdClass(); // by default objects are invalid.
290290
Yaml::dump($data, 2, 4, Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE); // throws an exception
291291

292-
echo $yaml; // { foo: bar }
293-
294292
Date Handling
295293
~~~~~~~~~~~~~
296294

0 commit comments

Comments
 (0)