Преглед изворни кода

Fix usage of deprecated method Yaml::load

Lukas Botsch пре 14 година
родитељ
комит
58112c8278
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lib/Gedmo/Sortable/Mapping/Driver/Yaml.php

+ 1 - 1
lib/Gedmo/Sortable/Mapping/Driver/Yaml.php

@@ -81,7 +81,7 @@ class Yaml extends File implements Driver
      */
     protected function _loadMappingFile($file)
     {
-        return \Symfony\Component\Yaml\Yaml::load($file);
+        return \Symfony\Component\Yaml\Yaml::parse($file);
     }
 
     /**