diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 3c8fcf2..4d1c42a 100644 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -14,7 +14,7 @@ declare(strict_types=1); namespace Modules\ResearchDevelopment\Admin\Install; -use phpOMS\DataStorage\Database\DatabasePool; +use phpOMS\Application\ApplicationAbstract; /** * Navigation class. @@ -29,15 +29,15 @@ class Navigation /** * Install navigation providing * - * @param string $path Module path - * @param DatabasePool $dbPool Database pool for database interaction + * @param ApplicationAbstract $app Application + * @param string $path Module path * * @return void * * @since 1.0.0 */ - public static function install(string $path, DatabasePool $dbPool) : void + public static function install(ApplicationAbstract $app, string $path) : void { - \Modules\Navigation\Admin\Installer::installExternal($dbPool, ['path' => __DIR__ . '/Navigation.install.json']); + \Modules\Navigation\Admin\Installer::installExternal($app, ['path' => __DIR__ . '/Navigation.install.json']); } } diff --git a/Admin/Installer.php b/Admin/Installer.php index 0b3b02a..794e453 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -26,4 +26,11 @@ use phpOMS\Module\InstallerAbstract; */ final class Installer extends InstallerAbstract { + /** + * Path of the file + * + * @var string + * @since 1.0.0 + */ + public const PATH = __DIR__; } diff --git a/Admin/Status.php b/Admin/Status.php index c43f360..29e01be 100644 --- a/Admin/Status.php +++ b/Admin/Status.php @@ -26,4 +26,11 @@ use phpOMS\Module\StatusAbstract; */ final class Status extends StatusAbstract { + /** + * Path of the file + * + * @var string + * @since 1.0.0 + */ + public const PATH = __DIR__; } diff --git a/Admin/Uninstaller.php b/Admin/Uninstaller.php index 0d8da13..e8ff6b4 100644 --- a/Admin/Uninstaller.php +++ b/Admin/Uninstaller.php @@ -26,4 +26,11 @@ use phpOMS\Module\UninstallerAbstract; */ final class Uninstaller extends UninstallerAbstract { + /** + * Path of the file + * + * @var string + * @since 1.0.0 + */ + public const PATH = __DIR__; } diff --git a/Admin/Updater.php b/Admin/Updater.php index 8d49d65..f5d7df5 100644 --- a/Admin/Updater.php +++ b/Admin/Updater.php @@ -26,4 +26,11 @@ use phpOMS\Module\UpdaterAbstract; */ final class Updater extends UpdaterAbstract { + /** + * Path of the file + * + * @var string + * @since 1.0.0 + */ + public const PATH = __DIR__; } diff --git a/info.json b/info.json index 379fe52..caeb48c 100644 --- a/info.json +++ b/info.json @@ -11,8 +11,8 @@ "phpOMS-db": "1.0.0" }, "creator": { - "name": "Orange Management", - "website": "www.spl1nes.com" + "name": "Jingga", + "website": "jingga.app" }, "description": "Research & Development module.", "directory": "ResearchDevelopment",