From 384f2f210a711b668af2fbf016759e2ee23be636 Mon Sep 17 00:00:00 2001 From: MDW Date: Sun, 24 Mar 2024 21:35:48 +0100 Subject: [PATCH] Force typing (phan) for typing checks --- htdocs/admin/commande.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/admin/commande.php b/htdocs/admin/commande.php index af9db12a62b..0376d551144 100644 --- a/htdocs/admin/commande.php +++ b/htdocs/admin/commande.php @@ -100,6 +100,7 @@ if ($action == 'updateMask') { require_once $file; $module = new $classname($db); + '@phan-var-force ModelePDFCommandes $module'; if ($module->write_file($commande, $langs) > 0) { header("Location: ".DOL_URL_ROOT."/document.php?modulepart=commande&file=SPECIMEN.pdf");