8000 Fixed CS · symfony/symfony@0d69cfe · GitHub
[go: up one dir, main page]

Skip to content

Commit 0d69cfe

Browse files
committed
Fixed CS
1 parent ea8c55a commit 0d69cfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Routing/Matcher/Dumper/PhpMatcherDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ private function compileRoute(Route $route, $name, $supportsRedirections, $paren
229229

230230
if (!count($compiledRoute->getPathVariables()) && false !== preg_match('#^(.)\^(?P<url>.*?)\$\1#'.(substr($regex, -1) === 'u' ? 'u' : ''), $regex, $m)) {
231231
if ($supportsTrailingSlash && substr($m['url'], -1) === '/') {
232-
$conditions[] = sprintf("\$trimmedPathinfo === %s", var_export(rtrim(str_replace('\\', '', $m['url']), '/'), true));
232+
$conditions[] = sprintf('$trimmedPathinfo === %s', var_export(rtrim(str_replace('\\', '', $m['url']), '/'), true));
233233
$hasTrailingSlash = true;
234234
} else {
235235
$conditions[] = sprintf('$pathinfo === %s', var_export(str_replace('\\', '', $m['url']), true));

0 commit comments

Comments
 (0)
0