Skip to content

Commit

Permalink
Removing reference to deprecated YAML component constant that is igno…
Browse files Browse the repository at this point in the history
…red after symfony 3.4
  • Loading branch information
Ocramius committed Aug 16, 2017
1 parent 76e2155 commit bb994b9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -806,10 +806,6 @@ private function cacheToArray($cacheMapping)
*/
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));
}
}

0 comments on commit bb994b9

Please sign in to comment.