Fix warning

This commit is contained in:
Michael 2019-04-09 05:17:02 +00:00
parent df0e2c959a
commit 1b339547f3

View file

@ -1270,7 +1270,8 @@ class App
// First we try explicit routes defined in App\Router
$this->router->collectRoutes();
Hook::callAll('route_collection', $this->router->getRouteCollector());
$data = $this->router->getRouteCollector();
Hook::callAll('route_collection', $data);
$this->module_class = $this->router->getModuleClass($this->cmd);