Skip to content

Commit 282418d

Browse files
committed
Database config typos changes
1 parent bcf8f0c commit 282418d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

system/Database/Config.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public static function connect($group = null, bool $getShared = true)
125125
*
126126
* @return array
127127
*/
128-
public static function getConnections()
128+
public static function getConnections(): array
129129
{
130130
return static::$instances;
131131
}
@@ -186,12 +186,12 @@ public static function seeder(string $group = null)
186186
*/
187187
protected static function ensureFactory()
188188
{
189-
if (static::$factory instanceof \CodeIgniter\Database\Database)
189+
if (static::$factory instanceof Database)
190190
{
191191
return;
192192
}
193193

194-
static::$factory = new \CodeIgniter\Database\Database();
194+
static::$factory = new Database();
195195
}
196196

197197
//--------------------------------------------------------------------

0 commit comments

Comments
 (0)