From a41fdabd234af65b5a759921694c776285c07b12 Mon Sep 17 00:00:00 2001 From: Paras Suthar Darji Date: Mon, 13 Dec 2021 17:13:38 +0530 Subject: [PATCH] Just typo in db name and also we can write email setup what do you say? --- src/Litepie/Install/Installers/Writers/EnvFileWriter.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Litepie/Install/Installers/Writers/EnvFileWriter.php b/src/Litepie/Install/Installers/Writers/EnvFileWriter.php index 0384c84d..43c3a383 100644 --- a/src/Litepie/Install/Installers/Writers/EnvFileWriter.php +++ b/src/Litepie/Install/Installers/Writers/EnvFileWriter.php @@ -40,19 +40,19 @@ public function __construct(Filesystem $finder) } /** - * @param $name + * @param $database * @param $username * @param $password * * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException */ - public function write($name, $username, $password, $host) + public function write($database, $username, $password, $host) { $environmentFile = $this->finder->get($this->template); $replace = [ "DB_HOST=$host", - "DB_DATABASE=$name", + "DB_DATABASE=$database", "DB_USERNAME=$username", "DB_PASSWORD=$password", ];