Explorar o código

[Routing] removed unused variable

Fabien Potencier %!s(int64=13) %!d(string=hai) anos
pai
achega
09692e2f16
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/Symfony/Component/Routing/RouteCollection.php

+ 0 - 1
src/Symfony/Component/Routing/RouteCollection.php

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