Skip to content

Commit b332eec

Browse files
chore: run formatter
1 parent 12d1d2d commit b332eec

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/vendor/
22
/.idea/
33
*.cache
4-
.history
4+
.history
5+
.phpactor.json

src/Http/Router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public static function match(string $method, string $path): Route|null
123123
return null;
124124
}
125125

126-
$parts = array_values(array_filter(explode('/', $path), fn($segment) => $segment !== ''));
126+
$parts = array_values(array_filter(explode('/', $path), fn ($segment) => $segment !== ''));
127127
$length = count($parts) - 1;
128128
$filteredParams = array_filter(self::$params, fn ($i) => $i <= $length);
129129

0 commit comments

Comments
 (0)