From a28f8c84e42b2dfb2b636c803465c17f0e85bdd8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 18 May 2017 22:23:59 +0200 Subject: [PATCH] Fix travis error --- htdocs/webservices/server_order.php | 1 + htdocs/webservices/server_payment.php | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/webservices/server_order.php b/htdocs/webservices/server_order.php index b0f794dd55f..c84eefa3480 100644 --- a/htdocs/webservices/server_order.php +++ b/htdocs/webservices/server_order.php @@ -793,6 +793,7 @@ function createOrder($authentication,$order) * * @param array $authentication Array of authentication information * @param int $id Id of order to validate + * @param int $id_warehouse Id of warehouse to use for stock decrease * @return array Array result */ function validOrder($authentication,$id='',$id_warehouse=0) diff --git a/htdocs/webservices/server_payment.php b/htdocs/webservices/server_payment.php index e8e4f5e1cb0..d6cd261a686 100644 --- a/htdocs/webservices/server_payment.php +++ b/htdocs/webservices/server_payment.php @@ -129,12 +129,13 @@ $server->register( 'WS to create a new payment' ); + /** * Create a payment * * @param array $authentication Array of authentication information - * @param Facture $invoice Invoice - * @return array Array result + * @param Object $payment Payment + * @return array Array result */ function createPayment($authentication, $payment) {