From f55237dad74eae3f11fd1130ebbb32bfb2bca11f Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 1 May 2011 17:38:14 +0200 Subject: [PATCH] [FrameworkBundle] fixed typo --- src/Symfony/Bundle/FrameworkBundle/Routing/CachedRouter.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Routing/CachedRouter.php b/src/Symfony/Bundle/FrameworkBundle/Routing/CachedRouter.php index f13ee461bd..c54d1e05d6 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Routing/CachedRouter.php +++ b/src/Symfony/Bundle/FrameworkBundle/Routing/CachedRouter.php @@ -12,6 +12,7 @@ namespace Symfony\Bundle\FrameworkBundle\Routing; use Symfony\Component\Routing\RouterInterface; +use Symfony\Component\Routing\RequestContext; /** * This Router is optimized to work with matcher and generator classes @@ -51,9 +52,9 @@ class CachedRouter implements RouterInterface /** * Sets the request context. * - * @param array $context The context + * @param RequestContext $context The context */ - public function setContext(array $context = array()) + public function setContext(RequestContext $context) { $this->matcher->setContext($context); $this->generator->setContext($context);