From 528af842e81fff284ed010dd838dec975f32ea0b Mon Sep 17 00:00:00 2001 From: MDW Date: Sun, 24 Mar 2024 21:36:10 +0100 Subject: [PATCH] Force typing (phan) for typing checks --- htdocs/admin/hrm.php | 1 + 1 file changed, 1 insertion(+) 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");