Passed
Branch development (08947d)
by Thomas
08:58
created
htdocs/lib2/search/search.txt.inc.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -203,6 +203,9 @@
 block discarded – undo
203 203
     return $str;
204 204
 }
205 205
 
206
+/**
207
+ * @param string $str
208
+ */
206 209
 function lf2crlf($str)
207 210
 {
208 211
     return str_replace("\r\r\n", "\r\n", str_replace("\n", "\r\n", $str));
Please login to merge, or discard this patch.
htdocs/src/Oc/Libse/ChildWp/ControllerChildWp.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@  discard block
 block discarded – undo
35 35
         $this->init(0, 0);
36 36
     }
37 37
 
38
+    /**
39
+     * @param boolean $request
40
+     */
38 41
     private function initRequest($request)
39 42
     {
40 43
         if ($request) {
@@ -44,6 +47,9 @@  discard block
 block discarded – undo
44 47
         return new RequestHttp();
45 48
     }
46 49
 
50
+    /**
51
+     * @param boolean $translator
52
+     */
47 53
     private function initTranslator($translator)
48 54
     {
49 55
         if ($translator) {
Please login to merge, or discard this patch.
local/devel/find_bad_encodings.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@
 block discarded – undo
39 39
 }
40 40
 
41 41
 
42
+/**
43
+ * @param string $path
44
+ */
42 45
 function testforbom($path)
43 46
 {
44 47
     $filestart = file_get_contents($path, false, null, 0, 2);
Please login to merge, or discard this patch.
htdocs/lib/sqldebugger.inc.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
 }
149 149
 
150 150
 /**
151
- * @param $sql
151
+ * @param string $sql
152 152
  * @param $bSlave
153 153
  *
154 154
  * @return resource
Please login to merge, or discard this patch.
htdocs/lib2/pager.class.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      * Use {page} in link_url als placeholder for the selected page number
25 25
      * and/or {offset} for the 0-based data offset of the selected page.
26 26
      *
27
-     * @param $link_url
27
+     * @param string $link_url
28 28
      * @param int $min_pages_shown
29 29
      * @param int $max_pages_shown
30 30
      */
@@ -42,8 +42,8 @@  discard block
 block discarded – undo
42 42
 
43 43
 
44 44
     /**
45
-     * @param $current_page
46
-     * @param $total_pages
45
+     * @param double $current_page
46
+     * @param double $total_pages
47 47
      * @param bool $page_size
48 48
      */
49 49
     public function make_from_pagenr($current_page, $total_pages, $page_size = false)
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 
117 117
     /**
118 118
      * @param $page
119
-     * @param $page_size
119
+     * @param boolean $page_size
120 120
      *
121 121
      * @return string
122 122
      */
Please login to merge, or discard this patch.
htdocs/lib2/util.inc.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
  * @param $filename
285 285
  * @param $maxLength
286 286
  *
287
- * @return bool|string
287
+ * @return false|string
288 288
  */
289 289
 function read_file($filename, $maxLength = 4096)
290 290
 {
@@ -453,7 +453,7 @@  discard block
 block discarded – undo
453 453
  *
454 454
  * @param $n
455 455
  *
456
- * @return mixed|string
456
+ * @return string
457 457
  */
458 458
 function number1000($n)
459 459
 {
Please login to merge, or discard this patch.
htdocs/lib/clicompatbase.inc.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -506,6 +506,9 @@
 block discarded – undo
506 506
     return mysql_fetch_assoc($rs);
507 507
 }
508 508
 
509
+/**
510
+ * @param resource $rs
511
+ */
509 512
 function sql_fetch_row($rs)
510 513
 {
511 514
     return mysql_fetch_row($rs);
Please login to merge, or discard this patch.
htdocs/lib2/db.inc.php 1 patch
Doc Comments   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -347,7 +347,7 @@  discard block
 block discarded – undo
347 347
 }
348 348
 
349 349
 /**
350
- * @param $sql
350
+ * @param string $sql
351 351
  *
352 352
  * @return resource
353 353
  */
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
 }
366 366
 
367 367
 /**
368
- * @param $sql
368
+ * @param string $sql
369 369
  *
370 370
  * @return resource
371 371
  */
@@ -383,7 +383,7 @@  discard block
 block discarded – undo
383 383
 }
384 384
 
385 385
 /**
386
- * @param $sql
386
+ * @param string $sql
387 387
  *
388 388
  * @return resource
389 389
  */
@@ -401,8 +401,8 @@  discard block
 block discarded – undo
401 401
 }
402 402
 
403 403
 /**
404
- * @param $sql
405
- * @param $default
404
+ * @param string $sql
405
+ * @param integer $default
406 406
  *
407 407
  * @return mixed
408 408
  */
@@ -420,8 +420,8 @@  discard block
 block discarded – undo
420 420
 }
421 421
 
422 422
 /**
423
- * @param $sql
424
- * @param $default
423
+ * @param string $sql
424
+ * @param integer $default
425 425
  *
426 426
  * @return mixed
427 427
  */
@@ -441,7 +441,7 @@  discard block
 block discarded – undo
441 441
 /**
442 442
  * @param $value
443 443
  *
444
- * @return mixed|string
444
+ * @return string
445 445
  */
446 446
 function sql_escape($value)
447 447
 {
@@ -466,7 +466,7 @@  discard block
 block discarded – undo
466 466
 /**
467 467
  * @param $value
468 468
  *
469
- * @return mixed|string
469
+ * @return string
470 470
  */
471 471
 function sql_escape_backtick($value)
472 472
 {
@@ -523,7 +523,7 @@  discard block
 block discarded – undo
523 523
 }
524 524
 
525 525
 /**
526
- * @param $bQuerySlave
526
+ * @param boolean $bQuerySlave
527 527
  * @param $sql
528 528
  * @param $default
529 529
  *
@@ -612,7 +612,7 @@  discard block
 block discarded – undo
612 612
 }
613 613
 
614 614
 /**
615
- * @param $rs
615
+ * @param resource $rs
616 616
  *
617 617
  * @return array
618 618
  */
@@ -629,7 +629,7 @@  discard block
 block discarded – undo
629 629
 
630 630
 // returns false if no more matching rows exist
631 631
 /**
632
- * @param $rs
632
+ * @param resource $rs
633 633
  *
634 634
  * @return array
635 635
  */
@@ -720,7 +720,7 @@  discard block
 block discarded – undo
720 720
 }
721 721
 
722 722
 /**
723
- * @param $rs
723
+ * @param resource $rs
724 724
  *
725 725
  * @return int
726 726
  */
@@ -730,7 +730,7 @@  discard block
 block discarded – undo
730 730
 }
731 731
 
732 732
 /**
733
- * @param $table
733
+ * @param string $table
734 734
  */
735 735
 function sql_temp_table($table)
736 736
 {
@@ -762,7 +762,7 @@  discard block
 block discarded – undo
762 762
 }
763 763
 
764 764
 /**
765
- * @param $table
765
+ * @param string $table
766 766
  */
767 767
 function sql_temp_table_slave($table)
768 768
 {
@@ -785,7 +785,7 @@  discard block
 block discarded – undo
785 785
 }
786 786
 
787 787
 /**
788
- * @param $table
788
+ * @param string $table
789 789
  */
790 790
 function sql_drop_temp_table($table)
791 791
 {
@@ -828,7 +828,7 @@  discard block
 block discarded – undo
828 828
 }
829 829
 
830 830
 /**
831
- * @param $table
831
+ * @param string $table
832 832
  */
833 833
 function sql_drop_temp_table_slave($table)
834 834
 {
@@ -1259,7 +1259,7 @@  discard block
 block discarded – undo
1259 1259
 
1260 1260
 /**
1261 1261
  * @param $f
1262
- * @param $rs
1262
+ * @param resource $rs
1263 1263
  * @param $table
1264 1264
  * @param bool $truncate
1265 1265
  */
@@ -1294,7 +1294,7 @@  discard block
 block discarded – undo
1294 1294
 }
1295 1295
 
1296 1296
 /**
1297
- * @param $f
1297
+ * @param resource $f
1298 1298
  * @param $table
1299 1299
  */
1300 1300
 function sql_export_table($f, $table)
@@ -1319,8 +1319,8 @@  discard block
 block discarded – undo
1319 1319
 }
1320 1320
 
1321 1321
 /**
1322
- * @param $filename
1323
- * @param $tables
1322
+ * @param string $filename
1323
+ * @param string[] $tables
1324 1324
  */
1325 1325
 function sql_export_tables_to_file($filename, $tables)
1326 1326
 {
@@ -1354,7 +1354,7 @@  discard block
 block discarded – undo
1354 1354
 }
1355 1355
 
1356 1356
 /**
1357
- * @param $f
1357
+ * @param resource $f
1358 1358
  * @param $table
1359 1359
  */
1360 1360
 function sql_export_structure($f, $table)
@@ -1373,7 +1373,7 @@  discard block
 block discarded – undo
1373 1373
 }
1374 1374
 
1375 1375
 /**
1376
- * @param $filename
1376
+ * @param string $filename
1377 1377
  * @param $table
1378 1378
  */
1379 1379
 function sql_export_structure_to_file($filename, $table)
@@ -1473,7 +1473,7 @@  discard block
 block discarded – undo
1473 1473
 
1474 1474
 // test if a function or procedure exists
1475 1475
 /**
1476
- * @param $type
1476
+ * @param string $type
1477 1477
  * @param $name
1478 1478
  *
1479 1479
  * @return bool
Please login to merge, or discard this patch.
htdocs/lib2/imagebmp.inc.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -493,7 +493,7 @@  discard block
 block discarded – undo
493 493
 /**
494 494
  * @param integer $byte
495 495
  * @param $start
496
- * @param $len
496
+ * @param integer $len
497 497
  *
498 498
  * @return number
499 499
  */
@@ -574,7 +574,7 @@  discard block
 block discarded – undo
574 574
 }
575 575
 
576 576
 /**
577
- * @param $d
577
+ * @param integer $d
578 578
  *
579 579
  * @return string
580 580
  */
Please login to merge, or discard this patch.