From e00a9816f81fb4b7c37e51a34e9f5379cb81e577 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sat, 9 Mar 2024 14:48:06 +0100 Subject: [PATCH] fix phpstan (#28727) * fix phpstan * fix phpstan * fix phpstan * fix phpstan * fix phpstan --- htdocs/core/class/html.formcategory.class.php | 3 ++- htdocs/core/lib/price.lib.php | 14 +++++--------- htdocs/core/lib/website.lib.php | 13 +++---------- .../barcode/mod_barcode_product_standard.php | 4 ++-- .../barcode/mod_barcode_thirdparty_standard.php | 4 ++-- htdocs/loan/class/loanschedule.class.php | 8 ++++---- htdocs/projet/class/task.class.php | 4 ++-- htdocs/public/webportal/css/global.css | 4 ++-- .../class/html.formlistwebportal.class.php | 5 +++-- 9 files changed, 25 insertions(+), 34 deletions(-) diff --git a/htdocs/core/class/html.formcategory.class.php b/htdocs/core/class/html.formcategory.class.php index 34a1961bc84..193967845ab 100644 --- a/htdocs/core/class/html.formcategory.class.php +++ b/htdocs/core/class/html.formcategory.class.php @@ -1,5 +1,6 @@ + * Copyright (C) 2024 Frédéric France * * 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 @@ -81,7 +82,7 @@ class FormCategory extends Form $filter .= $langs->trans('UseOrOperatorShort'); $filter .= ''; - $filter .= '