Skip to content

Commit 0127b26

Browse files
committed
minor symfony#30510 [Routing] removed a useless var (Jules Pietri)
This PR was merged into the 3.4 branch. Discussion ---------- [Routing] removed a useless var | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | ~ | License | MIT | Doc PR | ~ This was never documented, we should rely on `$routes->import()` instead. Commits ------- 10c1313 [Routing] removed a useless var
2 parents 7e8b767 + 10c1313 commit 0127b26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Routing/Loader/PhpFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function load($file, $type = null)
4848

4949
if ($result instanceof \Closure) {
5050
$collection = new RouteCollection();
51-
$result(new RoutingConfigurator($collection, $this, $path, $file), $this);
51+
$result(new RoutingConfigurator($collection, $this, $path, $file));
5252
} else {
5353
$collection = $result;
5454
}

0 commit comments

Comments
 (0)