Skip to content

Commit 3ad9d4a

Browse files
authored
Merge pull request #7826 from kenjis/style-update-cs-4.4
[4.4] style: update cs
2 parents 55d6cee + 83c611c commit 3ad9d4a

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

system/Router/AutoRouterImproved.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ private function createSegments(string $uri): array
125125
{
126126
$segments = explode('/', $uri);
127127
$segments = array_filter($segments, static fn ($segment) => $segment !== '');
128+
128129
// numerically reindex the array, removing gaps
129130
return array_values($segments);
130131
}

system/Router/RouteCollection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1455,6 +1455,7 @@ protected function create(string $verb, string $from, $to, ?array $options = nul
14551455
}
14561456

14571457
$routeKey = $from;
1458+
14581459
// Replace our regex pattern placeholders with the actual thing
14591460
// so that the Router doesn't need to know about any of this.
14601461
foreach ($this->placeholders as $tag => $pattern) {

tests/system/ControllerTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ public function testConstructorHTTPS(): void
7575
{
7676
$original = $_SERVER;
7777
$_SERVER = ['HTTPS' => 'on'];
78+
7879
// make sure we can instantiate one
7980
try {
8081
$this->controller = new class () extends Controller {

0 commit comments

Comments
 (0)