소스 검색

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);
     }
 
     /**