浏览代码

[Config] fixed phpdoc

Fabien Potencier 14 年之前
父节点
当前提交
bb7a9d75ea

+ 1 - 1
src/Symfony/Component/Config/Loader/DelegatingLoader.php

@@ -39,7 +39,7 @@ class DelegatingLoader extends Loader
      * @param mixed  $resource A resource
      * @param string $type     The resource type
      *
-     * @throws \InvalidArgumentException if no loader is found.
+     * @throws FileLoaderLoadException if no loader is found.
      */
     public function load($resource, $type = null)
     {

+ 1 - 1
src/Symfony/Component/Config/Loader/Loader.php

@@ -61,7 +61,7 @@ abstract class Loader implements LoaderInterface
      *
      * @return LoaderInterface A LoaderInterface instance
      *
-     * @throws \InvalidArgumentException if no loader is found
+     * @throws FileLoaderLoadException if no loader is found
      */
     public function resolve($resource, $type = null)
     {