[Routing] removed a useless var
This commit is contained in:
parent
b43cfc831d
commit
10c1313d41
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user