Fixing style errors.

This commit is contained in:
stickler-ci 2022-01-26 22:52:07 +00:00
parent 9dda416116
commit a6bd35c7d8

View File

@ -174,7 +174,7 @@ class StockMovements extends DolibarrApi
* @return int ID of stock movement * @return int ID of stock movement
* @throws RestException * @throws RestException
*/ */
public function post($product_id, $warehouse_id, $qty, $type='', $lot = '', $movementcode = '', $movementlabel = '', $price = '', $datem = '', $dlc = '', $dluo = '', $origin_type = '', $origin_id = 0) public function post($product_id, $warehouse_id, $qty, $type = '', $lot = '', $movementcode = '', $movementlabel = '', $price = '', $datem = '', $dlc = '', $dluo = '', $origin_type = '', $origin_id = 0)
{ {
if (!DolibarrApiAccess::$user->rights->stock->creer) { if (!DolibarrApiAccess::$user->rights->stock->creer) {
throw new RestException(401); throw new RestException(401);