We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d1443b commit e831f8bCopy full SHA for e831f8b
Mapping/Loader/YamlFileLoader.php
@@ -15,7 +15,6 @@
15
use Symfony\Component\Serializer\Mapping\AttributeMetadata;
16
use Symfony\Component\Serializer\Mapping\ClassMetadataInterface;
17
use Symfony\Component\Yaml\Parser;
18
-use Symfony\Component\Yaml\Yaml;
19
20
/**
21
* YAML File Loader.
@@ -114,7 +113,7 @@ private function getClassesFromYaml()
114
113
$this->yamlParser = new Parser();
115
}
116
117
- $classes = $this->yamlParser->parse(file_get_contents($this->file), Yaml::PARSE_KEYS_AS_STRINGS);
+ $classes = $this->yamlParser->parse(file_get_contents($this->file));
118
119
if (empty($classes)) {
120
return array();
0 commit comments