Skip to content

Commit 26c9f51

Browse files
Merge branch '4.4'
* 4.4: [4.3] Remove unused local variables
2 parents fedde7b + 28b1d19 commit 26c9f51

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Matcher/Dumper/CompiledUrlMatcherDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ static function (\$condition, \$context, \$request) { // \$checkCondition
121121
}
122122
}
123123
EOF;
124-
$compiledRoutes[4] = $forDump ? $checkConditionCode .= ",\n" : eval('return '.$checkConditionCode.';');
124+
$compiledRoutes[4] = $forDump ? $checkConditionCode.",\n" : eval('return '.$checkConditionCode.';');
125125
} else {
126126
$compiledRoutes[4] = $forDump ? " null, // \$checkCondition\n" : null;
127127
}

Tests/Annotation/RouteTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function testInvalidRouteParameter()
2525
public function testTryingToSetLocalesDirectly()
2626
{
2727
$this->expectException('BadMethodCallException');
28-
$route = new Route(['locales' => ['nl' => 'bar']]);
28+
new Route(['locales' => ['nl' => 'bar']]);
2929
}
3030

3131
/**

0 commit comments

Comments
 (0)