Commit 081a05b2 authored by Neranjen's avatar Neranjen

use request context from silex

parent 803f809c
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
namespace Silex; namespace Silex;
use Symfony\Component\Routing\RequestContext; use Symfony\Component\Routing\RequestContext as SymfonyRequestContext;
use Symfony\Component\Routing\Matcher\UrlMatcherInterface; use Symfony\Component\Routing\Matcher\UrlMatcherInterface;
/** /**
...@@ -54,7 +54,7 @@ class LazyUrlMatcher implements UrlMatcherInterface ...@@ -54,7 +54,7 @@ class LazyUrlMatcher implements UrlMatcherInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function setContext(RequestContext $context) public function setContext(SymfonyRequestContext $context)
{ {
$this->getUrlMatcher()->setContext($context); $this->getUrlMatcher()->setContext($context);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment