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 {
$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();
}