call methods as methods and not as static functions

This commit is contained in:
Dennis Eichhorn 2020-06-09 22:59:25 +02:00
parent 7646f8a909
commit 010b63b438

View File

@ -782,8 +782,8 @@ final class ModuleManager
try { try {
$obj = new $class($this->app); $obj = new $class($this->app);
$this->running[$name] = $obj; $this->running[$name] = $obj;
self::registerRequesting($obj); $this->registerRequesting($obj);
self::registerProvided($obj); $this->registerProvided($obj);
} catch (\Throwable $e) { } catch (\Throwable $e) {
$this->running[$name] = new NullModule(); $this->running[$name] = new NullModule();
} }