1
0
mirror of synced 2025-02-02 21:41:45 +03:00

Removing reference to deprecated YAML component constant that is ignored after symfony 3.4

This commit is contained in:
Marco Pivetta 2017-08-16 20:20:22 +02:00
parent 76e2155fb3
commit bb994b9e70
No known key found for this signature in database
GPG Key ID: 4167D3337FD9D629

View File

@ -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));
}
}