We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcf8f0c commit 282418dCopy full SHA for 282418d
1 file changed
system/Database/Config.php
@@ -125,7 +125,7 @@ public static function connect($group = null, bool $getShared = true)
125
*
126
* @return array
127
*/
128
- public static function getConnections()
+ public static function getConnections(): array
129
{
130
return static::$instances;
131
}
@@ -186,12 +186,12 @@ public static function seeder(string $group = null)
186
187
protected static function ensureFactory()
188
189
- if (static::$factory instanceof \CodeIgniter\Database\Database)
+ if (static::$factory instanceof Database)
190
191
return;
192
193
194
- static::$factory = new \CodeIgniter\Database\Database();
+ static::$factory = new Database();
195
196
197
//--------------------------------------------------------------------
0 commit comments