This commit is contained in:
Laurent Destailleur
2026-01-21 12:27:46 +01:00
parent 068fdc9431
commit b0a67d5c4d

View File

@@ -312,7 +312,7 @@ foreach ($dirmodels as $reldir) {
require_once $dir.$file.'.php';
$module = new $file($db);
/** @var ModeleNumRefCommande $module */
/** @var ModeleNumRefCommandes $module */
'@phan-var-force ModeleNumRefCommandes $module';
$arrayofmodules[] = $module;
@@ -325,8 +325,8 @@ foreach ($dirmodels as $reldir) {
}
$arrayofmodules = dol_sort_array($arrayofmodules, 'position');
/** @var ModeleNumRefCommande[] $arrayofmodules */
'@phan-var-force ModeleNumRefCommande[] $arrayofmodules';
/** @var ModeleNumRefCommandes[] $arrayofmodules */
'@phan-var-force ModeleNumRefCommandes[] $arrayofmodules';
foreach ($arrayofmodules as $module) {
$file = strtolower($module->getName($langs));