This commit is contained in:
Dennis Eichhorn 2022-03-18 19:51:57 +01:00
parent bdc30f4643
commit ff1072b25c
2 changed files with 4 additions and 4 deletions

View File

@ -29,14 +29,14 @@ class Admin
/**
* Install Admin 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
{
$settings = include __DIR__ . '/Admin.install.php';
\file_put_contents(__DIR__ . '/Admin.install.json', \json_encode($settings, \JSON_PRETTY_PRINT));

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']);
}