From: Michael Date: Tue, 9 Apr 2019 05:17:02 +0000 (+0000) Subject: Fix warning X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1b339547f304430b40e3178d9e2a9379ac11cbd1;p=friendica.git Fix warning --- diff --git a/src/App.php b/src/App.php index 1649a87454..2576cc5d8e 100644 --- a/src/App.php +++ b/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);