mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-04 08:02:22 +01:00
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:
@@ -243,7 +243,7 @@ class MyObject extends CommonObject
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param DoliDb $db Database handler
|
||||
* @param DoliDB $db Database handler
|
||||
*/
|
||||
public function __construct(DoliDB $db)
|
||||
{
|
||||
@@ -1275,7 +1275,7 @@ class MyObjectLine extends CommonObjectLine
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param DoliDb $db Database handler
|
||||
* @param DoliDB $db Database handler
|
||||
*/
|
||||
public function __construct(DoliDB $db)
|
||||
{
|
||||
|
||||
@@ -44,7 +44,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/pdf.lib.php';
|
||||
class pdf_standard_myobject extends ModelePDFMyObject
|
||||
{
|
||||
/**
|
||||
* @var DoliDb Database handler
|
||||
* @var DoliDB Database handler
|
||||
*/
|
||||
public $db;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user