Skip to content

Commit 7679072

Browse files
nit: fixes style ci
1 parent 77fa1e4 commit 7679072

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

tests/Routing/UrlGeneratorTest.php

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ public function testRouteGenerationSimple()
2424
{
2525
$this->router = new Router($this->adapter, $this->exception, $this->container, null, null);
2626
$this->router->version('v1', function (Router $router) {
27-
$router->any('foo', function() {})->name('my.route');
27+
$router->any('foo', function () {
28+
})->name('my.route');
2829
});
2930

3031
$generator = new UrlGenerator($this->createRequest('/foo', 'GET'));
@@ -55,7 +56,8 @@ public function testRouteGenerationWithDomain()
5556
{
5657
$this->router = new Router($this->adapter, $this->exception, $this->container, 'dingo.dev', null);
5758
$this->router->version('v1', function (Router $router) {
58-
$router->any('foo', function() {})->name('my.route');
59+
$router->any('foo', function () {
60+
})->name('my.route');
5961
});
6062

6163
$generator = new UrlGenerator($this->createRequest('/foo', 'GET'));
@@ -69,7 +71,8 @@ public function testRouteGenerationWithPrefix()
6971
{
7072
$this->router = new Router($this->adapter, $this->exception, $this->container, 'dingo.dev', 'api');
7173
$this->router->version('v1', function (Router $router) {
72-
$router->any('foo', function() {})->name('my.route');
74+
$router->any('foo', function () {
75+
})->name('my.route');
7376
});
7477

7578
$generator = new UrlGenerator($this->createRequest('/foo', 'GET'));
@@ -83,7 +86,8 @@ public function testRouteGenerationWithNamedParameters()
8386
{
8487
$this->router = new Router($this->adapter, $this->exception, $this->container, 'dingo.dev', 'api');
8588
$this->router->version('v1', function (Router $router) {
86-
$router->any('foo/{bar}', function() {})->name('my.route');
89+
$router->any('foo/{bar}', function () {
90+
})->name('my.route');
8791
});
8892

8993
$generator = new UrlGenerator($this->createRequest('/foo', 'GET'));
@@ -97,7 +101,8 @@ public function testRouteGenerationWithIndexedParameters()
97101
{
98102
$this->router = new Router($this->adapter, $this->exception, $this->container, 'dingo.dev', 'api');
99103
$this->router->version('v1', function (Router $router) {
100-
$router->any('foo/{bar}', function() {})->name('my.route');
104+
$router->any('foo/{bar}', function () {
105+
})->name('my.route');
101106
});
102107

103108
$generator = new UrlGenerator($this->createRequest('/foo', 'GET'));

0 commit comments

Comments
 (0)