Skip to content

Commit 90ad66f

Browse files
committed
refactor: add ()
1 parent 9c5275e commit 90ad66f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Database/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public static function connect($group = null, bool $getShared = true)
6060
$dbConfig = config('Database');
6161

6262
if ($group === null) {
63-
$group = ENVIRONMENT === 'testing' ? 'tests' : $dbConfig->defaultGroup;
63+
$group = (ENVIRONMENT === 'testing') ? 'tests' : $dbConfig->defaultGroup;
6464
}
6565

6666
if (is_string($group) && ! isset($dbConfig->{$group}) && strpos($group, 'custom-') !== 0) {

0 commit comments

Comments
 (0)