|
@@ -44,7 +44,6 @@ class RouteCollection implements \IteratorAggregate
|
|
|
|
|
|
public function __clone()
|
|
public function __clone()
|
|
{
|
|
{
|
|
- $parent = $this;
|
|
|
|
foreach ($this->routes as $name => $route) {
|
|
foreach ($this->routes as $name => $route) {
|
|
$this->routes[$name] = clone $route;
|
|
$this->routes[$name] = clone $route;
|
|
if ($route instanceof RouteCollection) {
|
|
if ($route instanceof RouteCollection) {
|