diff --git a/src/NewCommand.php b/src/NewCommand.php index 68d464a..82f23f8 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -183,7 +183,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int [$database, $migrate] = $this->promptForDatabaseOptions($directory, $input); - $this->configureDefaultDatabaseConnection($directory, $database, $name, $migrate); + $this->configureDefaultDatabaseConnection($directory, $database, $name); if ($migrate) { $this->runCommands([ @@ -244,10 +244,9 @@ protected function defaultBranch() * @param string $directory * @param string $database * @param string $name - * @param bool $migrate * @return void */ - protected function configureDefaultDatabaseConnection(string $directory, string $database, string $name, bool $migrate) + protected function configureDefaultDatabaseConnection(string $directory, string $database, string $name) { $this->pregReplaceInFile( '/DB_CONNECTION=.*/',