Update contrat.class.php

This commit is contained in:
Frédéric FRANCE 2019-10-07 08:11:23 +02:00 committed by GitHub
parent edfedbb818
commit 0b9213f4f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2077,7 +2077,7 @@ class Contrat extends CommonObject
* Return list of line rowid * Return list of line rowid
* *
* @param int $statut Status of lines to get * @param int $statut Status of lines to get
* @return array Array of line's rowid * @return array|int Array of line's rowid or <0 if error
*/ */
public function array_detail($statut = -1) public function array_detail($statut = -1)
{ {
@ -2114,7 +2114,7 @@ class Contrat extends CommonObject
* Return list of other contracts for same company than current contract * Return list of other contracts for same company than current contract
* *
* @param string $option 'all' or 'others' * @param string $option 'all' or 'others'
* @return array Array of contracts id * @return array|int Array of contracts id or <0 if error
*/ */
public function getListOfContracts($option = 'all') public function getListOfContracts($option = 'all')
{ {