Browse files

[Routing] fix phpdoc of Router

  • Loading branch information...
1 parent 6c22f96 commit 49fbd6f7203f37e7345cd89bca52d707d2f95fca @Tobion committed Jan 24, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/Symfony/Component/Routing/Router.php
View
10 src/Symfony/Component/Routing/Router.php
@@ -71,11 +71,11 @@ class Router implements RouterInterface, RequestMatcherInterface, RequestContext
/**
* Constructor.
*
- * @param LoaderInterface $loader A LoaderInterface instance
- * @param mixed $resource The main resource to load
- * @param array $options An array of options
- * @param RequestContext $context The context
- * @param LoggerInterface $logger A logger instance
+ * @param LoaderInterface $loader A LoaderInterface instance
+ * @param mixed $resource The main resource to load
+ * @param array $options An array of options
+ * @param RequestContext|null $context The context
+ * @param LoggerInterface|null $logger A logger instance
*/
public function __construct(LoaderInterface $loader, $resource, array $options = array(), RequestContext $context = null, LoggerInterface $logger = null)
{

0 comments on commit 49fbd6f

Please sign in to comment.