Completed
Branch develop (c604ce)
by
unknown
32:31
created
htdocs/contact/class/contact.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -562,7 +562,7 @@
 block discarded – undo
562 562
 	 *  Load object contact
563 563
 	 *
564 564
 	 *  @param      int		$id          id du contact
565
-	 *  @param      User	$user        Utilisateur (abonnes aux alertes) qui veut les alertes de ce contact
565
+	 *  @param      integer	$user        Utilisateur (abonnes aux alertes) qui veut les alertes de ce contact
566 566
      *  @param      string  $ref_ext     External reference, not given by Dolibarr
567 567
 	 *  @return     int     		     -1 if KO, 0 if OK but not found, 1 if OK
568 568
 	 */
Please login to merge, or discard this patch.
htdocs/core/modules/bank/doc/pdf_sepamandate.modules.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -426,10 +426,10 @@
 block discarded – undo
426 426
 	 *   Show miscellaneous information (payment mode, payment term, ...)
427 427
 	 *
428 428
 	 *   @param		PDF			$pdf     		Object PDF
429
-	 *   @param		Object		$object			Object to show
429
+	 *   @param		Project		$object			Object to show
430 430
 	 *   @param		int			$posy			Y
431 431
 	 *   @param		Translate	$outputlangs	Langs object
432
-	 *   @return	void
432
+	 *   @return	integer
433 433
 	 */
434 434
 	function _tableau_info(&$pdf, $object, $posy, $outputlangs)
435 435
 	{
Please login to merge, or discard this patch.
htdocs/core/modules/cheque/doc/pdf_blochet.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -366,10 +366,10 @@
 block discarded – undo
366 366
 	 *   	Show footer of page. Need this->emetteur object
367 367
      *
368 368
 	 *   	@param	PDF			$pdf     			PDF
369
-	 * 		@param	Object		$object				Object to show
369
+	 * 		@param	string		$object				Object to show
370 370
 	 *      @param	Translate	$outputlangs		Object lang for output
371 371
 	 *      @param	int			$hidefreetext		1=Hide free text
372
-	 *      @return	void
372
+	 *      @return	integer
373 373
 	 */
374 374
 	function _pagefoot(&$pdf,$object,$outputlangs,$hidefreetext=0)
375 375
 	{
Please login to merge, or discard this patch.
htdocs/core/modules/supplier_invoice/mod_facture_fournisseur_tulip.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
 	 * Return next value
126 126
 	 *
127 127
 	 * @param	Societe		$objsoc     Object third party
128
-	 * @param  	Object	    $object		Object invoice
128
+	 * @param  	string	    $object		Object invoice
129 129
      * @param	string		$mode       'next' for next value or 'last' for last value
130 130
      * @return 	string      			Value if OK, 0 if KO
131 131
 	 */
Please login to merge, or discard this patch.
htdocs/core/modules/supplier_invoice/mod_facture_fournisseur_cactus.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 	/**
69 69
 	 * 	Tests if the numbers already in force in the database do not cause conflicts that would prevent this numbering.
70 70
 	 *
71
-	 *  @return     boolean     false if conflict, true if ok
71
+	 *  @return     false|null     false if conflict, true if ok
72 72
 	 */
73 73
 	function canBeActivated()
74 74
 	{
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      * Return next value
145 145
 	 *
146 146
 	 * @param	Societe		$objsoc     Object third party
147
-	 * @param  	Object		$object		Object invoice
147
+	 * @param  	string		$object		Object invoice
148 148
      * @param   string		$mode       'next' for next value or 'last' for last value
149 149
 	 * @return 	string      			Value if OK, 0 if KO
150 150
      */
Please login to merge, or discard this patch.
htdocs/expedition/class/expedition.class.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
 	 * @param 	int		$entrepot_id		Id of warehouse
366 366
 	 * @param 	int		$origin_line_id		Id of source line
367 367
 	 * @param 	int		$qty				Quantity
368
-	 * @param	array	$array_options		extrafields array
368
+	 * @param	integer	$array_options		extrafields array
369 369
 	 * @return	int							<0 if KO, line_id if OK
370 370
 	 */
371 371
 	function create_line($entrepot_id, $origin_line_id, $qty,$array_options=0)
@@ -419,7 +419,7 @@  discard block
 block discarded – undo
419 419
 	 * Create the detail (eat-by date) of the expedition line
420 420
 	 *
421 421
 	 * @param 	object		$line_ext		full line informations
422
-	 * @param	array		$array_options		extrafields array
422
+	 * @param	integer		$array_options		extrafields array
423 423
 	 * @return	int							<0 if KO, >0 if OK
424 424
 	 */
425 425
 	function create_line_batch($line_ext,$array_options=0)
@@ -857,7 +857,7 @@  discard block
 block discarded – undo
857 857
 	 * @param 	int		$entrepot_id		Id of warehouse
858 858
 	 * @param 	int		$id					Id of source line (order line)
859 859
 	 * @param 	int		$qty				Quantity
860
-	 * @param	array	$array_options		extrafields array
860
+	 * @param	integer	$array_options		extrafields array
861 861
 	 * @return	int							<0 if KO, >0 if OK
862 862
 	 */
863 863
 	function addline($entrepot_id, $id, $qty,$array_options=0)
@@ -927,7 +927,7 @@  discard block
 block discarded – undo
927 927
 	 * Add a shipment line with batch record
928 928
 	 *
929 929
 	 * @param 	array		$dbatch		Array of value (key 'detail' -> Array, key 'qty' total quantity for line, key ix_l : original line index)
930
-	 * @param	array		$array_options		extrafields array
930
+	 * @param	integer		$array_options		extrafields array
931 931
 	 * @return	int						<0 if KO, >0 if OK
932 932
 	 */
933 933
 	function addline_batch($dbatch,$array_options=0)
Please login to merge, or discard this patch.
htdocs/fourn/class/api_supplier_invoices.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -277,7 +277,7 @@
 block discarded – undo
277 277
     /**
278 278
      * Clean sensible object datas
279 279
      *
280
-     * @param   Object  $object    Object to clean
280
+     * @param   FactureFournisseur  $object    Object to clean
281 281
      * @return  array              Array of cleaned object properties
282 282
      */
283 283
     function _cleanObjectDatas($object) {
Please login to merge, or discard this patch.
htdocs/core/class/html.formprojet.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -446,7 +446,7 @@
 block discarded – undo
446 446
 	 *    Build a HTML select list of element of same thirdparty to suggest to link them to project
447 447
 	 *
448 448
 	 *    @param	string		$table_element		Table of the element to update
449
-	 *    @param	string		$socid				If of thirdparty to use as filter or 'id1,id2,...'
449
+	 *    @param	integer		$socid				If of thirdparty to use as filter or 'id1,id2,...'
450 450
 	 *    @param	string		$morecss			More CSS
451 451
 	 *    @param    int         $limitonstatus      Add filters to limit length of list to opened status (for example to avoid ERR_RESPONSE_HEADERS_TOO_BIG on project/element.php page). TODO To implement
452 452
 	 *    @return	int|string						The HTML select list of element or '' if nothing or -1 if KO
Please login to merge, or discard this patch.
htdocs/compta/sociales/class/chargesociales.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -377,7 +377,7 @@  discard block
 block discarded – undo
377 377
      *  Retourne le libelle du statut d'une charge (impaye, payee)
378 378
      *
379 379
      *  @param	int		$mode       	0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label, 5=short label + picto, 6=Long label + picto
380
-	 *  @param  double	$alreadypaid	0=No payment already done, >0=Some payments were already done (we recommand to put here amount payed if you have it, 1 otherwise)
380
+	 *  @param  integer	$alreadypaid	0=No payment already done, >0=Some payments were already done (we recommand to put here amount payed if you have it, 1 otherwise)
381 381
      *  @return	string        			Label
382 382
      */
383 383
     function getLibStatut($mode=0,$alreadypaid=-1)
@@ -390,7 +390,7 @@  discard block
 block discarded – undo
390 390
      *
391 391
      *  @param	int		$statut        	Id statut
392 392
      *  @param  int		$mode          	0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label, 5=short label + picto, 6=Long label + picto
393
-	 *  @param  double	$alreadypaid	0=No payment already done, >0=Some payments were already done (we recommand to put here amount payed if you have it, 1 otherwise)
393
+	 *  @param  integer	$alreadypaid	0=No payment already done, >0=Some payments were already done (we recommand to put here amount payed if you have it, 1 otherwise)
394 394
      *  @return string        			Label
395 395
      */
396 396
     function LibStatut($statut,$mode=0,$alreadypaid=-1)
Please login to merge, or discard this patch.