From f78ad762288c134574c7907920504df0b68bcedb Mon Sep 17 00:00:00 2001 From: MDW Date: Sun, 24 Mar 2024 21:37:10 +0100 Subject: [PATCH] Force typing (phan) for typing checks --- htdocs/barcode/codeinit.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/barcode/codeinit.php b/htdocs/barcode/codeinit.php index 0852c9d6586..73c19e1f96b 100644 --- a/htdocs/barcode/codeinit.php +++ b/htdocs/barcode/codeinit.php @@ -1,6 +1,7 @@ * Copyright (C) 2018 Ferran Marcet + * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -86,6 +87,7 @@ if (getDolGlobalString('BARCODE_THIRDPARTY_ADDON_NUM')) { } $modBarCodeThirdparty = new $file(); + '@phan-var-force ModeleNumRefBarCode $module'; break; } } @@ -190,6 +192,7 @@ if (getDolGlobalString('BARCODE_PRODUCT_ADDON_NUM')) { } $modBarCodeProduct = new $file(); + '@phan-var-force ModeleNumRefBarCode $module'; break; } }