Skip to content

Commit ed395cd

Browse files
committed
minor #12044 Useless code in an example (makmaoui)
This PR was merged into the 4.3 branch. 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 ------- eac8365 Useless code in an example
2 parents 7db9d2e + eac8365 commit ed395cd

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)