[Routing] removed a useless var

This commit is contained in:
Jules Pietri 2019-03-10 19:46:42 +01:00
parent b43cfc831d
commit 10c1313d41

View File

@ -48,7 +48,7 @@ class PhpFileLoader extends FileLoader
if ($result instanceof \Closure) { if ($result instanceof \Closure) {
$collection = new RouteCollection(); $collection = new RouteCollection();
$result(new RoutingConfigurator($collection, $this, $path, $file), $this); $result(new RoutingConfigurator($collection, $this, $path, $file));
} else { } else {
$collection = $result; $collection = $result;
} }