Refactor dynamic App::getConfig() to static DI::config()
This commit is contained in:
@@ -17,7 +17,7 @@ class Home extends BaseModule
|
||||
public static function content(array $parameters = [])
|
||||
{
|
||||
$app = DI::app();
|
||||
$config = $app->getConfig();
|
||||
$config = DI::config();
|
||||
|
||||
// currently no returned data is used
|
||||
$ret = [];
|
||||
|
||||
Reference in New Issue
Block a user