From 00fb4300fc547ec9aec02ab51443eb8ae6d453d8 Mon Sep 17 00:00:00 2001 From: Neil Orley Date: Thu, 26 Apr 2018 12:03:55 +0200 Subject: [PATCH] FIX : return type change from array to int --- htdocs/compta/facture/class/api_invoices.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture/class/api_invoices.class.php b/htdocs/compta/facture/class/api_invoices.class.php index 667190051de..a8c29a76754 100644 --- a/htdocs/compta/facture/class/api_invoices.class.php +++ b/htdocs/compta/facture/class/api_invoices.class.php @@ -969,7 +969,7 @@ class Invoices extends DolibarrApi * * @url POST /payments * - * @return array Payment ID + * @return int Payment ID * @throws 400 * @throws 401 * @throws 404