From 87aded900f72a5f13bff35fde371b4b4bf087017 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 24 Feb 2024 14:31:39 +0100 Subject: [PATCH] Fix doxygen --- htdocs/webservices/server_actioncomm.php | 9 +++++---- htdocs/webservices/server_contact.php | 8 ++++---- htdocs/webservices/server_invoice.php | 2 +- htdocs/webservices/server_productorservice.php | 4 ++-- htdocs/webservices/server_thirdparty.php | 4 ++-- 5 files changed, 14 insertions(+), 13 deletions(-) diff --git a/htdocs/webservices/server_actioncomm.php b/htdocs/webservices/server_actioncomm.php index c8eb29b3d92..6bd2c21a0b1 100644 --- a/htdocs/webservices/server_actioncomm.php +++ b/htdocs/webservices/server_actioncomm.php @@ -429,12 +429,12 @@ function getListActionCommType($authentication) * Create ActionComm * * @param array $authentication Array of authentication information - * @param ActionComm $actioncomm $actioncomm + * @param array $actioncomm $actioncomm * @return array Array result */ function createActionComm($authentication, $actioncomm) { - global $db, $conf, $langs; + global $db, $conf; $now = dol_now(); @@ -460,6 +460,7 @@ function createActionComm($authentication, $actioncomm) $newobject->socid = $actioncomm['socid']; $newobject->fk_project = $actioncomm['projectid']; $newobject->note = $actioncomm['note']; + $newobject->note_private = $actioncomm['note']; $newobject->contact_id = $actioncomm['contactid']; $newobject->userownerid = $actioncomm['userownerid']; $newobject->label = $actioncomm['label']; @@ -512,12 +513,12 @@ function createActionComm($authentication, $actioncomm) * Create ActionComm * * @param array $authentication Array of authentication information - * @param ActionComm $actioncomm $actioncomm + * @param array $actioncomm $actioncomm * @return array Array result */ function updateActionComm($authentication, $actioncomm) { - global $db, $conf, $langs; + global $db, $conf; $now = dol_now(); diff --git a/htdocs/webservices/server_contact.php b/htdocs/webservices/server_contact.php index 73ef127fb77..0bf215eb94e 100644 --- a/htdocs/webservices/server_contact.php +++ b/htdocs/webservices/server_contact.php @@ -376,12 +376,12 @@ function getContact($authentication, $id, $ref_ext) * Create Contact * * @param array $authentication Array of authentication information - * @param Contact $contact $contact + * @param array $contact $contact * @return array Array result */ function createContact($authentication, $contact) { - global $db, $conf, $langs; + global $db, $conf; $now = dol_now(); @@ -490,7 +490,7 @@ function createContact($authentication, $contact) */ function getContactsForThirdParty($authentication, $idthirdparty) { - global $db, $conf, $langs; + global $db, $conf; dol_syslog("Function: getContactsForThirdParty login=".$authentication['login']." idthirdparty=".$idthirdparty); @@ -613,7 +613,7 @@ function getContactsForThirdParty($authentication, $idthirdparty) * Update a contact * * @param array $authentication Array of authentication information - * @param Contact $contact Contact + * @param array $contact Contact * @return array Array result */ function updateContact($authentication, $contact) diff --git a/htdocs/webservices/server_invoice.php b/htdocs/webservices/server_invoice.php index 050e55a338d..90d916e72b0 100644 --- a/htdocs/webservices/server_invoice.php +++ b/htdocs/webservices/server_invoice.php @@ -744,7 +744,7 @@ function createInvoiceFromOrder($authentication, $id_order = '', $ref_order = '' * Uddate an invoice, only change the state of an invoice * * @param array $authentication Array of authentication information - * @param Facture $invoice Invoice + * @param array $invoice Invoice * @return array Array result */ function updateInvoice($authentication, $invoice) diff --git a/htdocs/webservices/server_productorservice.php b/htdocs/webservices/server_productorservice.php index 500f0aaf3d0..759878c37b5 100644 --- a/htdocs/webservices/server_productorservice.php +++ b/htdocs/webservices/server_productorservice.php @@ -499,7 +499,7 @@ function getProductOrService($authentication, $id = 0, $ref = '', $ref_ext = '', * Create an invoice * * @param array $authentication Array of authentication information - * @param Product $product Product + * @param array $product Product * @return array Array result */ function createProductOrService($authentication, $product) @@ -665,7 +665,7 @@ function createProductOrService($authentication, $product) * Update a product or service * * @param array $authentication Array of authentication information - * @param Product $product Product + * @param array $product Product * @return array Array result */ function updateProductOrService($authentication, $product) diff --git a/htdocs/webservices/server_thirdparty.php b/htdocs/webservices/server_thirdparty.php index 37ec4d8f2de..353387f7681 100644 --- a/htdocs/webservices/server_thirdparty.php +++ b/htdocs/webservices/server_thirdparty.php @@ -432,7 +432,7 @@ function getThirdParty($authentication, $id = '', $ref = '', $ref_ext = '', $bar * Create a thirdparty * * @param array $authentication Array of authentication information - * @param Societe $thirdparty Thirdparty + * @param array $thirdparty Thirdparty * @return array Array result */ function createThirdParty($authentication, $thirdparty) @@ -564,7 +564,7 @@ function createThirdParty($authentication, $thirdparty) * Update a thirdparty * * @param array $authentication Array of authentication information - * @param Societe $thirdparty Thirdparty + * @param array $thirdparty Thirdparty * @return array Array result */ function updateThirdParty($authentication, $thirdparty)