Passed
Branch develop (7dcc66)
by Laurent
27:25
created
htdocs/recruitment/class/api_recruitment.class.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -368,15 +368,15 @@
 block discarded – undo
368 368
 	}
369 369
 
370 370
 	/**
371
-	* Create candidature object
372
-	*
373
-	* @param array $request_data   Request datas
374
-	* @return int  ID of candidature
375
-	*
376
-	* @throws RestException
377
-	*
378
-	* @url	POST candidature/
379
-	*/
371
+	 * Create candidature object
372
+	 *
373
+	 * @param array $request_data   Request datas
374
+	 * @return int  ID of candidature
375
+	 *
376
+	 * @throws RestException
377
+	 *
378
+	 * @url	POST candidature/
379
+	 */
380 380
 	public function postCandidature($request_data = null)
381 381
 	{
382 382
 		if (!DolibarrApiAccess::$user->rights->recruitment->recruitmentjobposition->write) {
Please login to merge, or discard this patch.
htdocs/fourn/class/api_supplier_orders.class.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -469,12 +469,12 @@  discard block
 block discarded – undo
469 469
 	}
470 470
 
471 471
 		/**
472
-	 * Receives the order, dispatches products.
472
+		 * Receives the order, dispatches products.
473 473
 		 *
474
-	 * Example:
475
-	 * <code> {
476
-	 *   "closeopenorder": 1,
477
-	 *   "comment": "",
474
+		 * Example:
475
+		 * <code> {
476
+		 *   "closeopenorder": 1,
477
+		 *   "comment": "",
478 478
 		 *   "lines": [{
479 479
 		 *      "id": 14,
480 480
 		 *      "fk_product": 112,
@@ -487,20 +487,20 @@  discard block
 block discarded – undo
487 487
 		 *      "batch": 0,
488 488
 		 *      "notrigger": 0
489 489
 		 *   }]
490
-	 * }</code>
490
+		 * }</code>
491 491
 		 *
492
-	 * @param   int		$id             Order ID
493
-	 * @param   integer	$closeopenorder	Close order if everything is received {@required false}
494
-	 * @param   string	$comment	Comment {@required false}
495
-	 * @param   array	$lines		Array of product dispatches
496
-	 *
497
-	 * @url POST    {id}/receive
498
-	 *
499
-	 * @return  array
500
-	 * FIXME An error 403 is returned if the request has an empty body.
501
-	 * Error message: "Forbidden: Content type `text/plain` is not supported."
502
-	 *
503
-	 */
492
+		 * @param   int		$id             Order ID
493
+		 * @param   integer	$closeopenorder	Close order if everything is received {@required false}
494
+		 * @param   string	$comment	Comment {@required false}
495
+		 * @param   array	$lines		Array of product dispatches
496
+		 *
497
+		 * @url POST    {id}/receive
498
+		 *
499
+		 * @return  array
500
+		 * FIXME An error 403 is returned if the request has an empty body.
501
+		 * Error message: "Forbidden: Content type `text/plain` is not supported."
502
+		 *
503
+		 */
504 504
 	public function receiveOrder($id, $closeopenorder, $comment, $lines)
505 505
 	{
506 506
 		if (empty(DolibarrApiAccess::$user->rights->fournisseur->commande->creer) && empty(DolibarrApiAccess::$user->rights->supplier_order->creer)) {
Please login to merge, or discard this patch.
htdocs/product/stock/class/api_stockmovements.class.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
 	 * $price Can be set to update AWP (Average Weighted Price) when you make a stock increase
157 157
 	 * $dlc Eat-by date. Will be used if lot does not exists yet and will be created.
158 158
 	 * $dluo Sell-by date. Will be used if lot does not exists yet and will be created.
159
-		 *
159
+	 *
160 160
 	 * @param int $product_id Id product id {@min 1} {@from body} {@required true}
161 161
 	 * @param int $warehouse_id Id warehouse {@min 1} {@from body} {@required true}
162 162
 	 * @param float $qty Qty to add (Use negative value for a stock decrease) {@from body} {@required true}
Please login to merge, or discard this patch.
htdocs/hrm/class/position.class.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -914,11 +914,11 @@
 block discarded – undo
914 914
 
915 915
 
916 916
 		/**
917
-	 *    Load the info information in the object
918
-	 *
919
-	 * @param int $id Id of object
920
-	 * @return    void
921
-	 */
917
+		 *    Load the info information in the object
918
+		 *
919
+		 * @param int $id Id of object
920
+		 * @return    void
921
+		 */
922 922
 	public function info($id)
923 923
 	{
924 924
 		$sql = 'SELECT rowid, date_creation as datec, tms as datem,';
Please login to merge, or discard this patch.