File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 14
14
15
15
use PHPMentors \ProxyURLRewriteBundle \ProxyUrl \ProxyUrlMatcher ;
16
16
use Symfony \Component \HttpKernel \Event \GetResponseEvent ;
17
+ use Symfony \Component \HttpKernel \Event \RequestEvent ;
17
18
use Symfony \Component \HttpKernel \HttpKernelInterface ;
18
19
use Symfony \Component \Routing \RouterInterface ;
19
20
@@ -50,9 +51,9 @@ public function setRouter(RouterInterface $router)
50
51
}
51
52
52
53
/**
53
- * @param GetResponseEvent $event
54
+ * @param RequestEvent $event
54
55
*/
55
- public function onKernelRequest (GetResponseEvent $ event )
56
+ public function onKernelRequest (RequestEvent $ event )
56
57
{
57
58
if ($ event ->getRequestType () == HttpKernelInterface::MASTER_REQUEST ) {
58
59
$ matchedProxyUrl = $ this ->proxyUrlMatcher ->match ($ this ->router ->getContext ()->getPathInfo ());
You can’t perform that action at this time.
0 commit comments