Skip to content
Snippets Groups Projects
Commit fe2498ff authored by Xebax's avatar Xebax
Browse files

Fix coding style errors.

parent 58179f71
No related branches found
No related tags found
No related merge requests found
......@@ -198,8 +198,7 @@ class Accounts extends DolibarrApi
/**
* Validate fields before creating an object
*
* @param array $data
* Data to validate
* @param array $data Data to validate
* @return array
*
* @throws RestException
......@@ -292,7 +291,7 @@ class Accounts extends DolibarrApi
*
* @url POST {id}/lines
*/
function addLine($id, $date, $type, $label='', $amount, $category=0, $cheque_number='', $cheque_writer='', $cheque_bank='')
function addLine($id, $date, $type, $label, $amount, $category=0, $cheque_number='', $cheque_writer='', $cheque_bank='')
{
if (! DolibarrApiAccess::$user->rights->banque->modifier) {
throw new RestException(401);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment