Skip to content

Commit fbc597f

Browse files
authored
Merge pull request #9 from beryllium/patch-2
Resolve Symfony 4 deprecation notice
2 parents ae6e713 + 9e01230 commit fbc597f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dflydev/DotAccessConfiguration/YamlConfigurationBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function internalBuild(ConfigurationInterface $configuration)
4040
{
4141
if (null !== $this->input) {
4242
try{
43-
$yml = Yaml::parse($this->input, true);
43+
$yml = Yaml::parse($this->input, Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE);
4444
} catch (\Exception $e) {
4545
throw new InvalidArgumentException($e->getMessage(), 0, $e);
4646
}

0 commit comments

Comments
 (0)