diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 533fc52..84258bc 100755 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -29,14 +29,14 @@ class Navigation /** * Install navigation providing * - * @param string $path Module path * @param ApplicationAbstract $app Application + * @param string $path Module path * * @return void * * @since 1.0.0 */ - public static function install(string $path, ApplicationAbstract $app) : void + public static function install(ApplicationAbstract $app, string $path) : void { \Modules\Navigation\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/Navigation.install.json']); } diff --git a/Admin/Installer.php b/Admin/Installer.php index ff9040f..141922e 100755 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -14,6 +14,7 @@ declare(strict_types=1); namespace Modules\Shop\Admin; +use phpOMS\Application\ApplicationAbstract; use phpOMS\Config\SettingsInterface; use phpOMS\DataStorage\Database\DatabasePool; use phpOMS\Module\InstallerAbstract; @@ -41,12 +42,12 @@ final class Installer extends InstallerAbstract /** * {@inheritdoc} */ - public static function install(DatabasePool $dbPool, ModuleInfo $info, SettingsInterface $cfgHandler) : void + public static function install(ApplicationAbstract $app, ModuleInfo $info, SettingsInterface $cfgHandler) : void { if (\file_exists(__DIR__ . '/../../../Web/Shop')) { Directory::delete(__DIR__ . '/../../../Web/Shop'); } - parent::install($dbPool, $info, $cfgHandler); + parent::install($app, $info, $cfgHandler); } }