Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / dflydev / dot-access-configuration / src / Dflydev / DotAccessConfiguration / YamlConfigurationBuilder.php
index 06f2ded4a488a59df8f9f4b4ed839863e430ad1f..95c59d37624394338544b1735c398774d8907bc5 100644 (file)
@@ -40,7 +40,7 @@ class YamlConfigurationBuilder extends AbstractConfigurationBuilder
     {
         if (null !== $this->input) {
             try{
-                $yml = Yaml::parse($this->input, true);
+                $yml = Yaml::parse($this->input, Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE);
             } catch (\Exception $e) {
                 throw new InvalidArgumentException($e->getMessage(), 0, $e);
             }