From 8b8949438dafd6e9cafaa9fdd0ff1c402e538c7c Mon Sep 17 00:00:00 2001 From: thibdrev Date: Sun, 11 Feb 2024 16:23:34 +0100 Subject: [PATCH] qual: phpstan for htdocs/variants/class/ProductAttribute.class.php htdocs/variants/class/ProductAttribute.class.php 1401 Parameter #7 $seller (string) of method ProductAttribute::printObjectLine() should be compatible with parameter $seller (Societe) of method CommonObject::printObjectLine() htdocs/variants/class/ProductAttribute.class.php 1401 Parameter #8 $buyer (string) of method ProductAttribute::printObjectLine() should be compatible with parameter $buyer (Societe) of method CommonObject::printObjectLine() --- htdocs/variants/class/ProductAttribute.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/variants/class/ProductAttribute.class.php b/htdocs/variants/class/ProductAttribute.class.php index 3e09e5362a560..5387ee3fbfa5c 100644 --- a/htdocs/variants/class/ProductAttribute.class.php +++ b/htdocs/variants/class/ProductAttribute.class.php @@ -1391,8 +1391,8 @@ public function printObjectLines($action, $seller, $buyer, $selected = 0, $dateS * @param int $num Number of line (0) * @param int $i I * @param int $dateSelector 1=Show also date range input fields - * @param string $seller Object of seller third party - * @param string $buyer Object of buyer third party + * @param Societe $seller Object of seller third party + * @param Societe $buyer Object of buyer third party * @param int $selected Object line selected * @param Extrafields $extrafields Object of extrafields * @param string $defaulttpldir Directory where to find the template (deprecated)