Skip to content

Commit 6ed2071

Browse files
committed
missing "YAML" in the exception message.
1 parent 5e81680 commit 6ed2071

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
@@ -121,7 +121,7 @@ private function parseFile($path)
121121
try {
122122
$classes = $this->yamlParser->parse(file_get_contents($path));
123123
} catch (ParseException $e) {
124-
throw new \InvalidArgumentException(sprintf('The file "%s" does not contain valid.', $path), 0, $e);
124+
throw new \InvalidArgumentException(sprintf('The file "%s" does not contain valid YAML.', $path), 0, $e);
125125
}
126126

127127
// empty file

0 commit comments

Comments
 (0)