merged branch Tobion/patch-5 (PR #6061)

This PR was merged into the master branch.

Commits
-------

1b41ed0 removed unused variable

Discussion
----------

removed unused variable
This commit is contained in:
Fabien Potencier 2012-11-19 11:35:07 +01:00
commit 4860e7510b

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);
}
}