Browse Source

Fix warning

pull/6990/head
Michael 3 years ago
parent
commit
1b339547f3
  1. 3
      src/App.php

3
src/App.php

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

Loading…
Cancel
Save