From 77ae6888ffde4b72ffec235bf493450eef6ab48e Mon Sep 17 00:00:00 2001 From: thibdrev Date: Fri, 23 Feb 2024 13:39:49 +0100 Subject: [PATCH] qual: phpstan for $user_valid (#28362) * Update commande.class.php htdocs/commande/class/commande.class.php 248 PHPDoc type int of property Commande::$user_valid is not covariant with PHPDoc type User of overridden property CommonObject::$user_valid. * Update facture.class.php htdocs/compta/facture/class/facture.class.php 129 PHPDoc type int of property Facture::$user_valid is not covariant with PHPDoc type User of overridden property CommonObject::$user_valid. --- htdocs/commande/class/commande.class.php | 5 ----- htdocs/compta/facture/class/facture.class.php | 7 ------- 2 files changed, 12 deletions(-) diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php index 75d9e0b3e75..187ed7b9452 100644 --- a/htdocs/commande/class/commande.class.php +++ b/htdocs/commande/class/commande.class.php @@ -242,11 +242,6 @@ class Commande extends CommonOrder */ public $user_author_id; - /** - * @var int User validator ID - */ - public $user_valid; - /** * @var OrderLine one line of an order */ diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php index 1385abbe14b..4b9fcdbc08a 100644 --- a/htdocs/compta/facture/class/facture.class.php +++ b/htdocs/compta/facture/class/facture.class.php @@ -113,13 +113,6 @@ class Facture extends CommonInvoice */ public $fk_user_author; - /** - * @var int ID - * @deprecated - * @see $fk_user_valid - */ - public $user_valid; - /** * @var int|null ID */