Skip to content

Commit

Permalink
[Routing] tuned exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
everzet committed Mar 19, 2011
1 parent 3fd50ea commit e4eee05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Routing/Loader/YamlFileLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ private function normalizeRouteConfig(array $config)
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)
));
}
Expand Down

0 comments on commit e4eee05

Please sign in to comment.