Explorar el Código

[Routing] removed unused variable

Fabien Potencier hace 13 años
padre
commit
09692e2f16
Se han modificado 1 ficheros con 0 adiciones y 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) {