Skip to content

Commit f853467

Browse files
committed
use the parseFile() method of the YAML parser
1 parent fefbdcd commit f853467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mapping/Loader/YamlFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ private function getClassesFromYaml()
113113
$this->yamlParser = new Parser();
114114
}
115115

116-
$classes = $this->yamlParser->parse(file_get_contents($this->file));
116+
$classes = $this->yamlParser->parseFile($this->file);
117117

118118
if (empty($classes)) {
119119
return array();

0 commit comments

Comments
 (0)