Dashboard fix

This commit is contained in:
Dennis Eichhorn 2022-03-18 19:49:33 +01:00
parent 5648466054
commit abd293c102
3 changed files with 6 additions and 6 deletions

View File

@ -31,14 +31,14 @@ class Comments
/**
* Install comment relation
*
* @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
{
$builder = new Builder($app->dbPool->get('schema'));
$builder->alterTable('news')

View File

@ -29,14 +29,14 @@ class Dashboard
/**
* Install dashboard 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\Dashboard\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/Dashboard.install.json']);
}

View File

@ -29,14 +29,14 @@ class Media
/**
* Install media 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\Media\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/Media.install.json']);
}