8000 minor #12183 [Router] Cleanup (nkt) · symfony/symfony@7dd842c · GitHub
[go: up one dir, main page]

Skip to content

Commit 7dd842c

Browse files
committed
minor #12183 [Router] Cleanup (nkt)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #12183). Discussion ---------- [Router] Cleanup | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Removed unused imports, variables, arguments. Commits ------- 5a6677d [Router] Cleanup
2 parents 2ad0642 + 5a6677d commit 7dd842c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Symfony/Component/Routing/RouteCompiler.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,8 @@ class RouteCompiler implements RouteCompilerInterface
3737
*/
3838
public static function compile(Route $route)
3939
{
40-
$staticPrefix = null;
4140
$hostVariables = array();
42-
$pathVariables = array();
4341
$variables = array();
44-
$tokens = array();
45-
$regex = null;
4642
$hostRegex = null;
4743
$hostTokens = array();
4844

0 commit comments

Comments
 (0)
0