lib: Fix type hint for $router in Module
This commit is contained in:
parent
5d8f091209
commit
800173b19f
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue