mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-03 07:04:07 +01:00
refactor: Fix initialization errors.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -48,10 +48,8 @@ abstract class ModuleBase
|
||||
* @param \SP\Core\Application $application
|
||||
* @param \SP\Core\ProvidersHelper $providersHelper
|
||||
*/
|
||||
public function __construct(
|
||||
Application $application,
|
||||
ProvidersHelper $providersHelper
|
||||
) {
|
||||
public function __construct(Application $application, ProvidersHelper $providersHelper)
|
||||
{
|
||||
$this->config = $application->getConfig();
|
||||
$this->configData = $this->config->getConfigData();
|
||||
$this->context = $application->getContext();
|
||||
@@ -59,7 +57,7 @@ abstract class ModuleBase
|
||||
$this->providersHelper = $providersHelper;
|
||||
}
|
||||
|
||||
abstract public function initialize(string $controller);
|
||||
abstract public function initialize(string $controller): void;
|
||||
|
||||
/**
|
||||
* Initializes event handlers
|
||||
|
||||
Reference in New Issue
Block a user