From c41602e6ececefe29fbc3b9af5bf63e14e72485d Mon Sep 17 00:00:00 2001 From: Kamel Khelifa Date: Mon, 29 Sep 2025 14:47:45 +0200 Subject: [PATCH] Correction phpstan --- htdocs/webportal/class/controller.class.php | 5 +++++ .../webportal/controllers/invoicelist.controller.class.php | 6 ------ htdocs/webportal/controllers/orderlist.controller.class.php | 6 ------ .../webportal/controllers/propallist.controller.class.php | 6 ------ 4 files changed, 5 insertions(+), 18 deletions(-) diff --git a/htdocs/webportal/class/controller.class.php b/htdocs/webportal/class/controller.class.php index a4d19377946..b2ef0aff7b9 100644 --- a/htdocs/webportal/class/controller.class.php +++ b/htdocs/webportal/class/controller.class.php @@ -56,6 +56,11 @@ class Controller */ public $tplPath; + /** + * @var FormListWebPortal Form for list + */ + public $formList; + /** * Constructor diff --git a/htdocs/webportal/controllers/invoicelist.controller.class.php b/htdocs/webportal/controllers/invoicelist.controller.class.php index 1252a3eb472..332e1639461 100644 --- a/htdocs/webportal/controllers/invoicelist.controller.class.php +++ b/htdocs/webportal/controllers/invoicelist.controller.class.php @@ -27,12 +27,6 @@ */ class InvoiceListController extends Controller { - /** - * @var FormListWebPortal Form for list - */ - public $formList; - - /** * Check current access to controller * diff --git a/htdocs/webportal/controllers/orderlist.controller.class.php b/htdocs/webportal/controllers/orderlist.controller.class.php index 9f8ea591bbb..51583b44699 100644 --- a/htdocs/webportal/controllers/orderlist.controller.class.php +++ b/htdocs/webportal/controllers/orderlist.controller.class.php @@ -30,12 +30,6 @@ require_once DOL_DOCUMENT_ROOT . '/webportal/class/html.formlistwebportal.class. */ class OrderListController extends Controller { - /** - * @var FormListWebPortal Form for list - */ - public $formList; - - /** * Check current access to controller * diff --git a/htdocs/webportal/controllers/propallist.controller.class.php b/htdocs/webportal/controllers/propallist.controller.class.php index a5f801e0c82..d09d97cf071 100644 --- a/htdocs/webportal/controllers/propallist.controller.class.php +++ b/htdocs/webportal/controllers/propallist.controller.class.php @@ -30,12 +30,6 @@ require_once DOL_DOCUMENT_ROOT . '/webportal/class/html.formlistwebportal.class. */ class PropalListController extends Controller { - /** - * @var FormListWebPortal Form for list - */ - public $formList; - - /** * Check current access to controller *