Skip to content

Commit a269426

Browse files
committed
wip
1 parent 3d4814b commit a269426

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/NewCommand.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,9 @@ protected function configureDefaultDatabaseConnection(string $directory, string
264264

265265
// If database options aren't commented, comment them for SQLite...
266266
if (! str_contains($environment, '# DB_HOST=127.0.0.1')) {
267-
return $this->commentDatabaseConfigurationForSqlite($directory);
267+
$this->commentDatabaseConfigurationForSqlite($directory);
268+
269+
return;
268270
}
269271

270272
return;
@@ -330,7 +332,7 @@ protected function hasMariaDBConfig(string $directory): bool
330332
* @param string $directory
331333
* @return void
332334
*/
333-
protected function commentDatabaseConfigurationForSqlite(string $directory)
335+
protected function commentDatabaseConfigurationForSqlite(string $directory): void
334336
{
335337
$defaults = [
336338
'DB_HOST=127.0.0.1',

0 commit comments

Comments
 (0)