Fix phpcs

This commit is contained in:
Laurent Destailleur 2019-10-31 21:18:38 +01:00
parent c215d534fc
commit a1700e71be
3 changed files with 3 additions and 3 deletions

View File

@ -565,7 +565,7 @@ class Invoices extends DolibarrApi
throw new RestException(500); throw new RestException(500);
} }
return array( return array(
'success' => array( 'success' => array(
'code' => 200, 'code' => 200,
'message' => 'Invoice deleted' 'message' => 'Invoice deleted'

View File

@ -273,7 +273,7 @@ class SupplierOrders extends DolibarrApi
throw new RestException(500); throw new RestException(500);
} }
return array( return array(
'success' => array( 'success' => array(
'code' => 200, 'code' => 200,
'message' => 'Supplier order deleted' 'message' => 'Supplier order deleted'

View File

@ -271,7 +271,7 @@ class MyModuleApi extends DolibarrApi
throw new RestException(500, 'Error when deleting MyObject : '.$this->myobject->error); throw new RestException(500, 'Error when deleting MyObject : '.$this->myobject->error);
} }
return array( return array(
'success' => array( 'success' => array(
'code' => 200, 'code' => 200,
'message' => 'MyObject deleted' 'message' => 'MyObject deleted'