Skip to content

Commit 22e3856

Browse files
githubfromguinicolas-grekas
authored andcommitted
Removed unused the $event parameter of onKernelFinishRequest from RouterListener.
1 parent f3ce137 commit 22e3856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EventListener/RouterListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ private function setCurrentRequest(?Request $request)
8383
* After a sub-request is done, we need to reset the routing context to the parent request so that the URL generator
8484
* operates on the correct context again.
8585
*/
86-
public function onKernelFinishRequest(FinishRequestEvent $event)
86+
public function onKernelFinishRequest()
8787
{
8888
$this->setCurrentRequest($this->requestStack->getParentRequest());
8989
}

0 commit comments

Comments
 (0)