Skip to content

Commit d9450c6

Browse files
authored
Merge pull request #249 from symfony-cmf/analysis-5Z3xQx
Apply fixes from StyleCI
2 parents 12f3f64 + ab048f7 commit d9450c6

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

src/DynamicRouter.php

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,13 @@ class DynamicRouter implements RouterInterface, RequestMatcherInterface, Chained
8989
*
9090
* @throws \InvalidArgumentException If the matcher is not a request or url matcher
9191
*/
92-
public function __construct(RequestContext $context,
93-
$matcher,
94-
UrlGeneratorInterface $generator,
95-
$uriFilterRegexp = '',
96-
EventDispatcherInterface $eventDispatcher = null,
97-
RouteProviderInterface $provider = null
92+
public function __construct(
93+
RequestContext $context,
94+
$matcher,
95+
UrlGeneratorInterface $generator,
96+
$uriFilterRegexp = '',
97+
EventDispatcherInterface $eventDispatcher = null,
98+
RouteProviderInterface $provider = null
9899
) {
99100
$this->context = $context;
100101
if (!$matcher instanceof RequestMatcherInterface && !$matcher instanceof UrlMatcherInterface) {

tests/Unit/Routing/ChainRouterTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,9 @@ public function testMatchAndNotAllowed()
392392
->expects($this->once())
393393
->method('match')
394394
->with($url)
395-
->will($this->returnValue(['test']
396-
))
395+
->will($this->returnValue(
396+
['test']
397+
))
397398
;
398399
$this->router->add($low, 10);
399400
$this->router->add($high, 100);

0 commit comments

Comments
 (0)