mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-10 11:02:56 +01:00
Qual: Fix phan issues related to getNextValue() notices (#30747)
* Qual: 🛟 Fix reference to $db with $this->db # Qual: reference to $db with $this->db $db was undeclared, use $this->db. * Fix suspected issue with environment max size and md5sum working on limited files * Qual: Fix LDAP typing * Qual: Fix some phan typing related to getNextValue() # Qual: Fix some phan typing related to getNextValue() This fixes a few typings in relation to getNextValue(). * Update phan baseline * PHPDoc: set arguments as nullable (+update array types) * Improve PHPDoc * Force toselect type to int[] * Enable all phan notices on actions_massactions.inc.php * Test was wrong, can not count when it's not an array * Update baseline * Remove ignore for notice that no longer exists * Update baseline * Fix format argument --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -449,6 +449,8 @@ class Commande extends CommonOrder
|
||||
}
|
||||
|
||||
$obj = new $classname();
|
||||
'@phan-var-force ModeleNumRefCommandes $obj';
|
||||
|
||||
$numref = $obj->getNextValue($soc, $this);
|
||||
|
||||
if ($numref != "") {
|
||||
|
||||
Reference in New Issue
Block a user