From d5384f2777936ea2808ae2bfa1b50de197f1b37a Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Thu, 13 Mar 2025 10:41:42 +0100 Subject: [PATCH] Fix CI --- htdocs/core/class/html.form.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 6f96d36cd22..f8dfc4ba580 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -87,6 +87,7 @@ class Form public $cache_types_fees = array(); public $cache_vatrates = array(); public $cache_invoice_subtype = array(); + /** @var array */ public $cache_rule_for_lines_dates = array(); @@ -4387,12 +4388,13 @@ class Form // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps /** - * Loads into cache rule for lines dates + * Loads into a cache property the list of possible rules for line dates * * @return int 1=OK ; -1=Empty */ public function load_cache_rule_for_lines_dates() { + // phpcs:enable $factureRec = new FactureRec($this->db); $this->cache_rule_for_lines_dates = $factureRec->fields['rule_for_lines_dates']['arrayofkeyval']; @@ -4407,7 +4409,7 @@ class Form // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps /** - * Load int a cache property th elist of possible delivery delays. + * Load int a cache property the list of possible delivery delays. * * @return int Nb of lines loaded, <0 if KO */