Commit 31139bab authored by Fabien Potencier's avatar Fabien Potencier

merged branch nean/patch-1 (PR #666)

This PR was merged into the master branch.

Discussion
----------

fixed use statement

fixes bolt/bolt#322

and addresses #663

Commits
-------

081a05b2 use request context from silex
parents 803f809c 081a05b2
......@@ -11,7 +11,7 @@
namespace Silex;
use Symfony\Component\Routing\RequestContext;
use Symfony\Component\Routing\RequestContext as SymfonyRequestContext;
use Symfony\Component\Routing\Matcher\UrlMatcherInterface;
/**
......@@ -54,7 +54,7 @@ class LazyUrlMatcher implements UrlMatcherInterface
/**
* {@inheritdoc}
*/
public function setContext(RequestContext $context)
public function setContext(SymfonyRequestContext $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