removed unused variable

This commit is contained in:
Tobias Schultze 2012-11-19 10:05:27 +01:00
parent 7e88eccfb6
commit 1b41ed0a79

View File

@ -275,7 +275,7 @@ class RouteCollection implements \IteratorAggregate, \Countable
*/
public function setHostnamePattern($pattern)
{
foreach ($this->routes as $name => $route) {
foreach ($this->routes as $route) {
$route->setHostnamePattern($pattern);
}
}