From 5dd2bedffa60cd9f74be21b09f6f9b21251a420a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 15 Nov 2021 09:42:27 +0100 Subject: [PATCH] Fix fatal error --- .../class/accountingaccount.class.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/htdocs/accountancy/class/accountingaccount.class.php b/htdocs/accountancy/class/accountingaccount.class.php index f3e70ac837a..7523140534a 100644 --- a/htdocs/accountancy/class/accountingaccount.class.php +++ b/htdocs/accountancy/class/accountingaccount.class.php @@ -732,16 +732,16 @@ class AccountingAccount extends CommonObject /** * Return Suggest accounting accounts to bind * - * @param Societe $buyer Object buyer - * @param Societe $seller Object seller - * @param Product $product Product object sell or buy - * @param Facture $facture Facture - * @param FactureLigne $factureDet Facture Det - * @param array $accountingAccount Array of Account account - * @param string $type Customer / Supplier - * @return array Accounting accounts suggested + * @param Societe $buyer Object buyer + * @param Societe $seller Object seller + * @param Product $product Product object sell or buy + * @param Facture|FactureFournisseur $facture Facture + * @param FactureLigne|SupplierInvoiceLine $factureDet Facture Det + * @param array $accountingAccount Array of Account account + * @param string $type Customer / Supplier + * @return array Accounting accounts suggested */ - public function getAccountingCodeToBind(Societe $buyer, Societe $seller, Product $product, Facture $facture, FactureLigne $factureDet, $accountingAccount = array(), $type = '') + public function getAccountingCodeToBind(Societe $buyer, Societe $seller, Product $product, $facture, $factureDet, $accountingAccount = array(), $type = '') { global $conf; global $hookmanager;