lib: Fix type hint for $router in Module

This commit is contained in:
Eric Lippmann 2015-08-20 16:47:17 +02:00
parent 5d8f091209
commit 800173b19f
1 changed files with 1 additions and 0 deletions

View File

@ -1039,6 +1039,7 @@ class Module
protected function registerRoutes()
{
$router = $this->app->getFrontController()->getRouter();
/** @var \Zend_Controller_Router_Rewrite $router */
foreach ($this->routes as $name => $route) {
$router->addRoute($name, $route);
}