From 010b63b4385f8561e0311b57ab798339e12098d3 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 9 Jun 2020 22:59:25 +0200 Subject: [PATCH] call methods as methods and not as static functions --- Module/ModuleManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Module/ModuleManager.php b/Module/ModuleManager.php index 1fb825f40..c3af0001e 100644 --- a/Module/ModuleManager.php +++ b/Module/ModuleManager.php @@ -782,8 +782,8 @@ final class ModuleManager try { $obj = new $class($this->app); $this->running[$name] = $obj; - self::registerRequesting($obj); - self::registerProvided($obj); + $this->registerRequesting($obj); + $this->registerProvided($obj); } catch (\Throwable $e) { $this->running[$name] = new NullModule(); }