From eac83656d4e72c6a5a622841901a72965043b643 Mon Sep 17 00:00:00 2001 From: makmaoui <37940572+makmaoui@users.noreply.github.com> Date: Sat, 27 Jul 2019 11:44:27 +0200 Subject: [PATCH] Useless code in an example --- components/yaml.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/yaml.rst b/components/yaml.rst index 19479e1275f..c3f355ab1da 100644 --- a/components/yaml.rst +++ b/components/yaml.rst @@ -289,8 +289,6 @@ Similarly you can use ``DUMP_EXCEPTION_ON_INVALID_TYPE`` when dumping:: $data = new \stdClass(); // by default objects are invalid. Yaml::dump($data, 2, 4, Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE); // throws an exception - echo $yaml; // { foo: bar } - Date Handling ~~~~~~~~~~~~~