Skip to content

Commit ac18f86

Browse files
committed
refactor: remove unneeded &
The connection is an object.
1 parent 6c705f3 commit ac18f86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Database/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public static function connect($group = null, bool $getShared = true)
8080

8181
$connection = static::$factory->load($config, $group);
8282

83-
static::$instances[$group] = &$connection;
83+
static::$instances[$group] = $connection;
8484

8585
return $connection;
8686
}

0 commit comments

Comments
 (0)