Skip to content

Commit

Permalink
Fix usage of deprecated method Yaml::load
Browse files Browse the repository at this point in the history
  • Loading branch information
lbotsch committed Jul 4, 2011
1 parent cf3b5dd commit 58112c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Gedmo/Sortable/Mapping/Driver/Yaml.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function readExtendedMetadata(ClassMetadata $meta, array &$config)
*/
protected function _loadMappingFile($file)
{
return \Symfony\Component\Yaml\Yaml::load($file);
return \Symfony\Component\Yaml\Yaml::parse($file);
}

/**
Expand Down

0 comments on commit 58112c8

Please sign in to comment.