diff --git a/src/DynamicRouter.php b/src/DynamicRouter.php index 8a78a48a..38bc2b54 100644 --- a/src/DynamicRouter.php +++ b/src/DynamicRouter.php @@ -89,12 +89,13 @@ class DynamicRouter implements RouterInterface, RequestMatcherInterface, Chained * * @throws \InvalidArgumentException If the matcher is not a request or url matcher */ - public function __construct(RequestContext $context, - $matcher, - UrlGeneratorInterface $generator, - $uriFilterRegexp = '', - EventDispatcherInterface $eventDispatcher = null, - RouteProviderInterface $provider = null + public function __construct( + RequestContext $context, + $matcher, + UrlGeneratorInterface $generator, + $uriFilterRegexp = '', + EventDispatcherInterface $eventDispatcher = null, + RouteProviderInterface $provider = null ) { $this->context = $context; if (!$matcher instanceof RequestMatcherInterface && !$matcher instanceof UrlMatcherInterface) { diff --git a/tests/Unit/Routing/ChainRouterTest.php b/tests/Unit/Routing/ChainRouterTest.php index 48c1046d..e36f501d 100644 --- a/tests/Unit/Routing/ChainRouterTest.php +++ b/tests/Unit/Routing/ChainRouterTest.php @@ -392,8 +392,9 @@ public function testMatchAndNotAllowed() ->expects($this->once()) ->method('match') ->with($url) - ->will($this->returnValue(['test'] - )) + ->will($this->returnValue( + ['test'] + )) ; $this->router->add($low, 10); $this->router->add($high, 100);