8000 minor #12044 Useless code in an example (makmaoui) · symfony/symfony-docs@aeda6ab · GitHub
[go: up one dir, main page]

Skip to content

Commit aeda6ab

Browse files
committed
minor #12044 Useless code in an example (makmaoui)
This PR was submitted for the 4.3 branch but it was merged into the 3.4 branch instead (closes #12044). Discussion ---------- Useless code in an example <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 13c2398 Useless code in an example
2 parents b77bade + 13c2398 commit aeda6ab

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
@@ -302,8 +302,6 @@ Similarly you can use ``DUMP_EXCEPTION_ON_INVALID_TYPE`` when dumping::
302302
$data = new \stdClass(); // by default objects are invalid.
303303
Yaml::dump($data, 2, 4, Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE); // throws an exception
304304

305-
echo $yaml; // { foo: bar }
306-
307305
Date Handling
308306
~~~~~~~~~~~~~
309307

0 commit comments

Comments
 (0)
0