diff --git a/htdocs/admin/hrm.php b/htdocs/admin/hrm.php index c55622f1a11..74d4bd26748 100644 --- a/htdocs/admin/hrm.php +++ b/htdocs/admin/hrm.php @@ -140,6 +140,7 @@ if ($action == 'update') { require_once $file; $module = new $classname($db); + '@phan-var-force CommonDocGenerator $module'; if ($module->write_file($tmpobject, $langs) > 0) { header("Location: ".DOL_URL_ROOT."/document.php?modulepart=".strtolower($tmpobjectkey)."&file=SPECIMEN.pdf");