From 080413bb6e7bc163654abff93e3548d5451025e8 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 17 Feb 2018 21:38:56 +0100 Subject: [PATCH] phpcs fixes --- Admin/Install/Navigation.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 4026a56..268ac49 100644 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -26,7 +26,17 @@ use phpOMS\DataStorage\Database\DatabasePool; */ class Navigation { - public static function install(string $path, DatabasePool $dbPool) + /** + * Install navigation providing + * + * @param string $path Path to some file + * @param DatabasePool $dbPool Database pool for database interaction + * + * @return void + * + * @since 1.0.0 + */ + public static function install(string $path = null, DatabasePool $dbPool = null) /* : void */ { $navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true);