Version 0.9.5 beta - Core update removed dependencies for the Postgres to MySQL, since it made no sense, also removed the ODBC dependencies for MySQL since it made no sense, will be added to the current Nibiru core version v0.9.5. Also added the correct return types for the PDO adapter so it has code completion.

This commit is contained in:
Stephan Kasdorf
2020-10-29 22:27:40 +01:00
parent dc848b4f8a
commit 334588974a
3 changed files with 12 additions and 8 deletions

View File

@@ -46,7 +46,7 @@ class Odbc extends Mysql implements IOdbc
}
public static function getInstance( $section = false )
public static function getInstance( $section = false ): Mysql
{
$className = get_called_class();
if(self::$_instance==null) self::$_instance = new $className( $section );