Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Jan 22, 2024
1 parent 3d4814b commit a269426
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/NewCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,9 @@ protected function configureDefaultDatabaseConnection(string $directory, string

// If database options aren't commented, comment them for SQLite...
if (! str_contains($environment, '# DB_HOST=127.0.0.1')) {
return $this->commentDatabaseConfigurationForSqlite($directory);
$this->commentDatabaseConfigurationForSqlite($directory);

return;
}

return;
Expand Down Expand Up @@ -330,7 +332,7 @@ protected function hasMariaDBConfig(string $directory): bool
* @param string $directory
* @return void
*/
protected function commentDatabaseConfigurationForSqlite(string $directory)
protected function commentDatabaseConfigurationForSqlite(string $directory): void
{
$defaults = [
'DB_HOST=127.0.0.1',
Expand Down

0 comments on commit a269426

Please sign in to comment.