Browse Source

[Routing] tuned exception message

everzet 14 năm trước cách đây
mục cha
commit
e4eee05b06
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Symfony/Component/Routing/Loader/YamlFileLoader.php

+ 1 - 1
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)
                 ));
             }