Explorar o código

Fix usage of deprecated method Yaml::load

Lukas Botsch %!s(int64=14) %!d(string=hai) anos
pai
achega
58112c8278
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
     }
 
     /**