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 1414
1515use PHPMentors \ProxyURLRewriteBundle \ProxyUrl \ProxyUrlMatcher ;
1616use Symfony \Component \HttpKernel \Event \GetResponseEvent ;
17+ use Symfony \Component \HttpKernel \Event \RequestEvent ;
1718use Symfony \Component \HttpKernel \HttpKernelInterface ;
1819use Symfony \Component \Routing \RouterInterface ;
1920
@@ -50,9 +51,9 @@ public function setRouter(RouterInterface $router)
5051 }
5152
5253 /**
53- * @param GetResponseEvent $event
54+ * @param RequestEvent $event
5455 */
55- public function onKernelRequest (GetResponseEvent $ event )
56+ public function onKernelRequest (RequestEvent $ event )
5657 {
5758 if ($ event ->getRequestType () == HttpKernelInterface::MASTER_REQUEST ) {
5859 $ matchedProxyUrl = $ this ->proxyUrlMatcher ->match ($ this ->router ->getContext ()->getPathInfo ());
You can’t perform that action at this time.
0 commit comments