From c8b1fd81da3301bde3ddcadd943dd342ae4b0389 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 1 Feb 2024 10:55:47 +0100 Subject: [PATCH] Fix type (boolean must be replaced with int) --- htdocs/fourn/class/fournisseur.facture.class.php | 4 ++-- htdocs/societe/class/societe.class.php | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/htdocs/fourn/class/fournisseur.facture.class.php b/htdocs/fourn/class/fournisseur.facture.class.php index 78dc8d39bac..1582022e21b 100644 --- a/htdocs/fourn/class/fournisseur.facture.class.php +++ b/htdocs/fourn/class/fournisseur.facture.class.php @@ -225,12 +225,12 @@ class FactureFournisseur extends CommonInvoice public $fk_account; // default bank account /** - * @var int transport mode id + * @var int Transport mode id */ public $transport_mode_id; /** - * @var boolean VAT reverse charge can be used on the invoice + * @var int VAT reverse charge can be used on the invoice */ public $vat_reverse_charge; diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index e5d4dbe51e1..bfc979b77b6 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -505,18 +505,17 @@ class Societe extends CommonObject public $prefix_comm; /** - * @var int Vat concerned + * @var int Vat concerned */ public $tva_assuj = 1; /** - * Intracommunitary VAT ID - * @var string + * @var string Intracommunitary VAT ID */ public $tva_intra; /** - * @var int Vat reverse-charge concerned + * @var int Vat reverse-charge concerned */ public $vat_reverse_charge = 0;