8000 [FrameworkBundle] fixed typo · johnnywalker/symfony@f55237d · GitHub
[go: up one dir, main page]

Skip to content

Commit f55237d

Browse files
committed
[FrameworkBundle] fixed typo
1 parent 0642b60 commit f55237d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/Routing/CachedRouter.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Symfony\Bundle\FrameworkBundle\Routing;
1313

1414
use Symfony\Component\Routing\RouterInterface;
15+
use Symfony\Component\Routing\RequestContext;
1516

1617
/**
1718
* This Router is optimized to work with matcher and generator classes
@@ -51,9 +52,9 @@ public function __construct($cacheDir, $matcher, $generator, array $context = ar
5152
/**
5253
* Sets the request context.
5354
*
54-
* @param array $context The context
55+
* @param RequestContext $context The context
5556
*/
56-
public function setContext(array $context = array())
57+
public function setContext(RequestContext $context)
5758
{
5859
$this->matcher->setContext($context);
5960
$this->generator->setContext($context);

0 commit comments

Comments
 (0)
0