mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-13 07:18:39 +00:00
call methods as methods and not as static functions
This commit is contained in:
parent
7646f8a909
commit
010b63b438
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user