Permalink
Browse files

fix some phpdoc

  • Loading branch information...
1 parent 7200703 commit 358e9c47b995cc103aa5706269db22ac637c56b2 @Tobion Tobion committed Dec 2, 2012
@@ -12,6 +12,7 @@
namespace Symfony\Component\Routing\Loader;
use Symfony\Component\Config\Loader\Loader;
+use Symfony\Component\Routing\RouteCollection;
/**
* ClosureLoader loads routes from a PHP closure.
@@ -30,6 +31,8 @@ class ClosureLoader extends Loader
* @param \Closure $closure A Closure
* @param string|null $type The resource type
*
+ * @return RouteCollection A RouteCollection instance
+ *
* @api
*/
public function load($closure, $type = null)
@@ -11,8 +11,9 @@
namespace Symfony\Component\Routing\Loader;
-use Symfony\Component\Config\Resource\FileResource;
use Symfony\Component\Config\Loader\FileLoader;
+use Symfony\Component\Config\Resource\FileResource;
+use Symfony\Component\Routing\RouteCollection;
/**
* PhpFileLoader loads routes from a PHP file.
@@ -31,6 +32,8 @@ class PhpFileLoader extends FileLoader
* @param string $file A PHP file path
* @param string|null $type The resource type
*
+ * @return RouteCollection A RouteCollection instance
+ *
* @api
*/
public function load($file, $type = null)

0 comments on commit 358e9c4

Please sign in to comment.