diff --git a/src/Symfony/Component/Routing/Loader/YamlFileLoader.php b/src/Symfony/Component/Routing/Loader/YamlFileLoader.php index 567b8e988e..cdf89a7b6b 100644 --- a/src/Symfony/Component/Routing/Loader/YamlFileLoader.php +++ b/src/Symfony/Component/Routing/Loader/YamlFileLoader.php @@ -139,7 +139,7 @@ class YamlFileLoader extends FileLoader foreach ($config as $key => $value) { if (!in_array($key, self::$availableKeys)) { throw new \InvalidArgumentException(sprintf( - 'Unsupported config key given: "%s". Expected one of the (%s).', + 'Yaml routing loader does not support given key: "%s". Expected one of the (%s).', $key, implode(', ', self::$availableKeys) )); }