Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Nov 7, 2024
1 parent 820ce60 commit bec93c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/HandlesDatabases.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected function usesSqliteInMemoryDatabaseConnection(?string $connection = nu
$config = $app->make('config');

/** @var string $connection */
$connection = ! \is_null($connection) ? $connection : $config->get('database.default');
$connection ??= $config->get('database.default');

/** @var array{driver: string, database: string}|null $database */
$database = $config->get("database.connections.{$connection}");
Expand Down

0 comments on commit bec93c9

Please sign in to comment.