mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
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()
|
protected function registerRoutes()
|
||||||
{
|
{
|
||||||
$router = $this->app->getFrontController()->getRouter();
|
$router = $this->app->getFrontController()->getRouter();
|
||||||
|
/** @var \Zend_Controller_Router_Rewrite $router */
|
||||||
foreach ($this->routes as $name => $route) {
|
foreach ($this->routes as $name => $route) {
|
||||||
$router->addRoute($name, $route);
|
$router->addRoute($name, $route);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user