mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Removing reference to deprecated YAML component constant that is ignored after symfony 3.4
This commit is contained in:
@@ -806,10 +806,6 @@ class YamlDriver extends FileDriver
|
||||
*/
|
||||
protected function loadMappingFile($file)
|
||||
{
|
||||
if (defined(Yaml::class . '::PARSE_KEYS_AS_STRINGS')) {
|
||||
return Yaml::parse(file_get_contents($file), Yaml::PARSE_KEYS_AS_STRINGS);
|
||||
}
|
||||
|
||||
return Yaml::parse(file_get_contents($file));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user