Преглед изворни кода

[Routing] removed unused variable

Fabien Potencier пре 13 година
родитељ
комит
09692e2f16
1 измењених фајлова са 0 додато и 1 уклоњено
  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) {