Sfoglia il codice sorgente

[Routing] removed unused variable

Fabien Potencier 13 anni fa
parent
commit
09692e2f16
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  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) {