Mercurial > hg > isophonics-drupal-site
diff core/lib/Drupal/Component/Serialization/YamlSymfony.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 1fec387a4317 |
children |
line wrap: on
line diff
--- a/core/lib/Drupal/Component/Serialization/YamlSymfony.php Tue Jul 10 15:07:59 2018 +0100 +++ b/core/lib/Drupal/Component/Serialization/YamlSymfony.php Thu Feb 28 13:21:36 2019 +0000 @@ -34,7 +34,7 @@ $yaml = new Parser(); // Make sure we have a single trailing newline. A very simple config like // 'foo: bar' with no newline will fail to parse otherwise. - return $yaml->parse($raw, SymfonyYaml::PARSE_EXCEPTION_ON_INVALID_TYPE | SymfonyYaml::PARSE_KEYS_AS_STRINGS); + return $yaml->parse($raw, SymfonyYaml::PARSE_EXCEPTION_ON_INVALID_TYPE); } catch (\Exception $e) { throw new InvalidDataTypeException($e->getMessage(), $e->getCode(), $e);