diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 404fb2c6c3c..4723d7085bd 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -2498,7 +2498,7 @@ class Societe extends CommonObject /** * Returns amount of included taxes of the current discounts/credits available from the company * - * @param User $user Filter on a user author of discounts + * @param ?User $user Filter on a user author of discounts * @param string $filter Other filter * @param integer $maxvalue Filter on max value for discount * @param int $discount_type 0 => customer discount, 1 => supplier discount