From b95b5e217f4731107e8e966f4c04deae7ebde6f1 Mon Sep 17 00:00:00 2001 From: David Badura Date: Thu, 10 Sep 2015 09:43:17 +0200 Subject: [PATCH] missing "YAML" in the exception message. --- .../Component/Validator/Mapping/Loader/YamlFileLoader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Validator/Mapping/Loader/YamlFileLoader.php b/src/Symfony/Component/Validator/Mapping/Loader/YamlFileLoader.php index ea4e2641a6..cf6dd92dca 100644 --- a/src/Symfony/Component/Validator/Mapping/Loader/YamlFileLoader.php +++ b/src/Symfony/Component/Validator/Mapping/Loader/YamlFileLoader.php @@ -121,7 +121,7 @@ class YamlFileLoader extends FileLoader try { $classes = $this->yamlParser->parse(file_get_contents($path)); } catch (ParseException $e) { - throw new \InvalidArgumentException(sprintf('The file "%s" does not contain valid.', $path), 0, $e); + throw new \InvalidArgumentException(sprintf('The file "%s" does not contain valid YAML.', $path), 0, $e); } // empty file