2
0
forked from Wavyzz/dolibarr

Qual: Fix typing hints for DoliDB (#27484)

# Qual: Fix typing hints for DoliDB

This should help the static tools for type and method checking.
This commit is contained in:
MDW
2024-01-13 15:50:02 +01:00
committed by GitHub
parent 5d68f1b0ee
commit 39769482b1
130 changed files with 147 additions and 147 deletions

View File

@@ -250,8 +250,8 @@ function getDoliDBInstance($type, $host, $user, $pass, $name, $port)
require_once DOL_DOCUMENT_ROOT."/core/db/".$type.'.class.php';
$class = 'DoliDB'.ucfirst($type);
$dolidb = new $class($type, $host, $user, $pass, $name, $port);
return $dolidb;
$DoliDB = new $class($type, $host, $user, $pass, $name, $port);
return $DoliDB;
}
/**