From b9a6d2e6e9a8c91f78d6c281df880c8bb613b7e7 Mon Sep 17 00:00:00 2001 From: ghermans Date: Tue, 25 Feb 2020 03:38:36 +0100 Subject: [PATCH] #2525 fixed php docs --- app/Console/Commands/install.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/Console/Commands/install.php b/app/Console/Commands/install.php index f8de6663f..38c04f5a3 100644 --- a/app/Console/Commands/install.php +++ b/app/Console/Commands/install.php @@ -85,6 +85,9 @@ class install extends Command } } + /** + * Create a new .env file. + */ public function createEnvFile() { try { @@ -109,6 +112,9 @@ class install extends Command } } + /** + * Add the database credentials to the .env file. + */ public function addDatabaseDetails() { $dbName = $this->ask('What is the database name to be used by bagisto'); @@ -120,6 +126,9 @@ class install extends Command $this->envUpdate('DB_PASSWORD=', $dbPass); } + /** + * Update the .env values. + */ public static function envUpdate($key, $value) { $path = base_path() . '/.env';