Completed
Push — 14.2 ( e07840...cec2da )
by Ralf
83:18 queued 52:04
created
phpgwapi/inc/htmLawed/htmLawed.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -625,6 +625,10 @@
 block discarded – undo
625 625
 // eof
626 626
 }
627 627
 
628
+/**
629
+ * @param string $e
630
+ * @param string $a
631
+ */
628 632
 function hl_tag2(&$e, &$a, $t=1){
629 633
 // transform tag
630 634
 if($e == 'center'){$e = 'div'; return 'text-align: center;';}
Please login to merge, or discard this patch.
phpgwapi/inc/HTTP/WebDAV/Server.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2170,6 +2170,9 @@  discard block
 block discarded – undo
2170 2170
 
2171 2171
     // {{{ _copymove()
2172 2172
 
2173
+    /**
2174
+     * @param string $what
2175
+     */
2173 2176
     function _copymove($what)
2174 2177
     {
2175 2178
         $options         = Array();
@@ -2509,7 +2512,7 @@  discard block
 block discarded – undo
2509 2512
      * defined in RFC 2518 section 9.4
2510 2513
      *
2511 2514
      * @param  void
2512
-     * @return void
2515
+     * @return boolean
2513 2516
      */
2514 2517
     function _check_if_header_conditions()
2515 2518
     {
@@ -2581,6 +2584,7 @@  discard block
 block discarded – undo
2581 2584
      *
2582 2585
      * @param  string  path of resource to check
2583 2586
      * @param  bool    exclusive lock?
2587
+     * @param string $path
2584 2588
      */
2585 2589
     function _check_lock_status($path, $exclusive_only = false)
2586 2590
     {
@@ -2733,6 +2737,7 @@  discard block
 block discarded – undo
2733 2737
      * not really needed but added for completenes
2734 2738
      *
2735 2739
      * @param  string  URL to decode
2740
+     * @param string $path
2736 2741
      * @return string  decoded URL
2737 2742
      */
2738 2743
     public static function _urldecode($path)
@@ -2835,6 +2840,7 @@  discard block
 block discarded – undo
2835 2840
      * UTF-8 encode property values if not already done so
2836 2841
      *
2837 2842
      * @param  string  text to encode
2843
+     * @param string $text
2838 2844
      * @return string  utf-8 encoded text
2839 2845
      */
2840 2846
     function _prop_encode($text)
@@ -2876,6 +2882,7 @@  discard block
 block discarded – undo
2876 2882
      *
2877 2883
      * @param   string directory path
2878 2884
      * @returns string directory path wihtout trailing slash
2885
+     * @return string
2879 2886
      */
2880 2887
     public static function _unslashify($path)
2881 2888
     {
@@ -2892,6 +2899,7 @@  discard block
 block discarded – undo
2892 2899
      *
2893 2900
      * @param  string  parent path
2894 2901
      * @param  string  child path
2902
+     * @param string $child
2895 2903
      * @return string  merged path
2896 2904
      */
2897 2905
     public static function _mergePaths($parent, $child)
Please login to merge, or discard this patch.
phpgwapi/inc/HTTP/WebDAV/Server/Filesystem.php 1 patch
Doc Comments   +11 added lines, -9 removed lines patch added patch discarded remove patch
@@ -254,6 +254,7 @@  discard block
 block discarded – undo
254 254
      *
255 255
      * @param  string  program name
256 256
      * @param  string  optional search path, defaults to $PATH
257
+     * @param string $name
257 258
      * @return bool    true if executable program found in path
258 259
      */
259 260
     function _can_execute($name, $path = false)
@@ -319,6 +320,7 @@  discard block
 block discarded – undo
319 320
      * try to detect the mime type of a file
320 321
      *
321 322
      * @param  string  file path
323
+     * @param string $fspath
322 324
      * @return string  guessed mime type
323 325
      */
324 326
     function _mimetype($fspath)
@@ -416,7 +418,7 @@  discard block
 block discarded – undo
416 418
      * GET method handler
417 419
      *
418 420
      * @param  array  parameter passing array
419
-     * @return bool   true on success
421
+     * @return null|boolean   true on success
420 422
      */
421 423
     function GET(&$options)
422 424
     {
@@ -446,7 +448,7 @@  discard block
 block discarded – undo
446 448
      * See RFC 2518, Section 8.4 on GET/HEAD for collections
447 449
      *
448 450
      * @param  string  directory path
449
-     * @return void    function has to handle HTTP response itself
451
+     * @return null|false    function has to handle HTTP response itself
450 452
      */
451 453
     function GetDir($fspath, &$options)
452 454
     {
@@ -533,7 +535,7 @@  discard block
 block discarded – undo
533 535
      * MKCOL method handler
534 536
      *
535 537
      * @param  array  general parameter passing array
536
-     * @return bool   true on success
538
+     * @return string   true on success
537 539
      */
538 540
     function MKCOL($options)
539 541
     {
@@ -570,7 +572,7 @@  discard block
 block discarded – undo
570 572
      * DELETE method handler
571 573
      *
572 574
      * @param  array  general parameter passing array
573
-     * @return bool   true on success
575
+     * @return string   true on success
574 576
      */
575 577
     function DELETE($options)
576 578
     {
@@ -600,7 +602,7 @@  discard block
 block discarded – undo
600 602
      * MOVE method handler
601 603
      *
602 604
      * @param  array  general parameter passing array
603
-     * @return bool   true on success
605
+     * @return string   true on success
604 606
      */
605 607
     function MOVE($options)
606 608
     {
@@ -611,7 +613,7 @@  discard block
 block discarded – undo
611 613
      * COPY method handler
612 614
      *
613 615
      * @param  array  general parameter passing array
614
-     * @return bool   true on success
616
+     * @return string   true on success
615 617
      */
616 618
     function COPY($options, $del=false)
617 619
     {
@@ -751,7 +753,7 @@  discard block
 block discarded – undo
751 753
      * PROPPATCH method handler
752 754
      *
753 755
      * @param  array  general parameter passing array
754
-     * @return bool   true on success
756
+     * @return string   true on success
755 757
      */
756 758
     function PROPPATCH(&$options)
757 759
     {
@@ -790,7 +792,7 @@  discard block
 block discarded – undo
790 792
      * LOCK method handler
791 793
      *
792 794
      * @param  array  general parameter passing array
793
-     * @return bool   true on success
795
+     * @return string|boolean   true on success
794 796
      */
795 797
     function LOCK(&$options)
796 798
     {
@@ -848,7 +850,7 @@  discard block
 block discarded – undo
848 850
      * UNLOCK method handler
849 851
      *
850 852
      * @param  array  general parameter passing array
851
-     * @return bool   true on success
853
+     * @return string   true on success
852 854
      */
853 855
     function UNLOCK(&$options)
854 856
     {
Please login to merge, or discard this patch.
phpgwapi/inc/HTTP/WebDAV/Tools/_parse_lockinfo.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -95,6 +95,7 @@
 block discarded – undo
95 95
      *
96 96
      * @param  string  path of input stream
97 97
      * @param boolean $store_request =false if true whole request data will be made available in $this->request
98
+     * @param string $path
98 99
      * @access public
99 100
      */
100 101
     function __construct($path, $store_request=false)
Please login to merge, or discard this patch.
phpgwapi/inc/HTTP/WebDAV/Tools/_parse_proppatch.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -95,6 +95,7 @@
 block discarded – undo
95 95
      *
96 96
      * @param  string  path of input stream
97 97
      * @param boolean $store_request =false if true whole request data will be made available in $this->request
98
+     * @param string $path
98 99
      * @access public
99 100
      */
100 101
     function __construct($path, $store_request=false)
Please login to merge, or discard this patch.
phpgwapi/inc/idna_convert/idna_convert.class.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      * the constructor
90 90
      *
91 91
      * @param array $options
92
-     * @return boolean
92
+     * @return boolean|null
93 93
      * @since 0.5.2
94 94
      */
95 95
     public function __construct($options = false)
@@ -388,7 +388,7 @@  discard block
 block discarded – undo
388 388
     /**
389 389
      * Use this method to get the last error ocurred
390 390
      * @param    void
391
-     * @return   string   The last error, that occured
391
+     * @return   boolean   The last error, that occured
392 392
      */
393 393
     public function get_last_error()
394 394
     {
@@ -398,7 +398,7 @@  discard block
 block discarded – undo
398 398
     /**
399 399
      * The actual decoding algorithm
400 400
      * @param string
401
-     * @return mixed
401
+     * @return false|string
402 402
      */
403 403
     protected function _decode($encoded)
404 404
     {
@@ -455,7 +455,7 @@  discard block
 block discarded – undo
455 455
     /**
456 456
      * The actual encoding algorithm
457 457
      * @param  string
458
-     * @return mixed
458
+     * @return false|string
459 459
      */
460 460
     protected function _encode($decoded)
461 461
     {
@@ -675,7 +675,7 @@  discard block
 block discarded – undo
675 675
      * Decomposes a Hangul syllable
676 676
      * (see http://www.unicode.org/unicode/reports/tr15/#Hangul
677 677
      * @param    integer  32bit UCS4 code point
678
-     * @return   array    Either Hangul Syllable decomposed or original 32bit value as one value array
678
+     * @return   integer[]    Either Hangul Syllable decomposed or original 32bit value as one value array
679 679
      */
680 680
     protected function _hangul_decompose($char)
681 681
     {
Please login to merge, or discard this patch.
phpgwapi/inc/min/lib/CSSmin.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -667,6 +667,11 @@  discard block
 block discarded – undo
667 667
      * ---------------------------------------------------------------------------------------------
668 668
      */
669 669
 
670
+    /**
671
+     * @param double $v1
672
+     * @param double $v2
673
+     * @param integer $vh
674
+     */
670 675
     private function hue_to_rgb($v1, $v2, $vh)
671 676
     {
672 677
         $vh = $vh < 0 ? $vh + 1 : ($vh > 1 ? $vh - 1 : $vh);
@@ -681,6 +686,10 @@  discard block
 block discarded – undo
681 686
         return intval(floor(floatval($n) + 0.5), 10);
682 687
     }
683 688
 
689
+    /**
690
+     * @param integer $min
691
+     * @param integer $max
692
+     */
684 693
     private function clamp_number($n, $min, $max)
685 694
     {
686 695
         return min(max($n, $min), $max);
@@ -709,7 +718,7 @@  discard block
 block discarded – undo
709 718
      *
710 719
      * @param string   $str
711 720
      * @param int      $start index
712
-     * @param int|bool $end index (optional)
721
+     * @param integer $end index (optional)
713 722
      * @return string
714 723
      */
715 724
     private function str_slice($str, $start = 0, $end = FALSE)
Please login to merge, or discard this patch.
phpgwapi/inc/min/lib/FirePHP.php 1 patch
Doc Comments   +11 added lines, -12 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
   /**
200 200
    * When the object gets serialized only include specific object members.
201 201
    *
202
-   * @return array
202
+   * @return string[]
203 203
    */
204 204
   public function __sleep() {
205 205
     return array('options','objectFilters','enabled');
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
    * Start a group for following messages
358 358
    *
359 359
    * @param string $Name
360
-   * @return true
360
+   * @return boolean
361 361
    * @throws Exception
362 362
    */
363 363
   public function group($Name) {
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
   /**
368 368
    * Ends a group you have started before
369 369
    *
370
-   * @return true
370
+   * @return boolean
371 371
    * @throws Exception
372 372
    */
373 373
   public function groupEnd() {
@@ -380,7 +380,7 @@  discard block
 block discarded – undo
380 380
    * @see FirePHP::LOG
381 381
    * @param mixes $Object
382 382
    * @param string $Label
383
-   * @return true
383
+   * @return boolean
384 384
    * @throws Exception
385 385
    */
386 386
   public function log($Object, $Label=null) {
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
    * @see FirePHP::INFO
394 394
    * @param mixes $Object
395 395
    * @param string $Label
396
-   * @return true
396
+   * @return boolean
397 397
    * @throws Exception
398 398
    */
399 399
   public function info($Object, $Label=null) {
@@ -406,7 +406,7 @@  discard block
 block discarded – undo
406 406
    * @see FirePHP::WARN
407 407
    * @param mixes $Object
408 408
    * @param string $Label
409
-   * @return true
409
+   * @return boolean
410 410
    * @throws Exception
411 411
    */
412 412
   public function warn($Object, $Label=null) {
@@ -419,7 +419,7 @@  discard block
 block discarded – undo
419 419
    * @see FirePHP::ERROR
420 420
    * @param mixes $Object
421 421
    * @param string $Label
422
-   * @return true
422
+   * @return boolean
423 423
    * @throws Exception
424 424
    */
425 425
   public function error($Object, $Label=null) {
@@ -432,7 +432,7 @@  discard block
 block discarded – undo
432 432
    * @see FirePHP::DUMP
433 433
    * @param string $Key
434 434
    * @param mixed $Variable
435
-   * @return true
435
+   * @return boolean
436 436
    * @throws Exception
437 437
    */
438 438
   public function dump($Key, $Variable) {
@@ -444,7 +444,7 @@  discard block
 block discarded – undo
444 444
    *
445 445
    * @see FirePHP::TRACE
446 446
    * @param string $Label
447
-   * @return true
447
+   * @return boolean
448 448
    * @throws Exception
449 449
    */
450 450
   public function trace($Label) {
@@ -457,7 +457,7 @@  discard block
 block discarded – undo
457 457
    * @see FirePHP::TABLE
458 458
    * @param string $Label
459 459
    * @param string $Table
460
-   * @return true
460
+   * @return boolean
461 461
    * @throws Exception
462 462
    */
463 463
   public function table($Label, $Table) {
@@ -483,7 +483,7 @@  discard block
 block discarded – undo
483 483
    *
484 484
    * @see http://www.firephp.org/Wiki/Reference/Fb
485 485
    * @param mixed $Object The variable to be logged
486
-   * @return true Return TRUE if message was added to headers, FALSE otherwise
486
+   * @return boolean Return TRUE if message was added to headers, FALSE otherwise
487 487
    * @throws Exception
488 488
    */
489 489
   public function fb($Object) {
@@ -852,7 +852,6 @@  discard block
 block discarded – undo
852 852
    * protected and private visibility
853 853
    *
854 854
    * @param Object $Object The object to be encoded
855
-   * @param int $Depth The current traversal depth
856 855
    * @return array All members of the object
857 856
    */
858 857
   protected function encodeObject($Object, $ObjectDepth = 1, $ArrayDepth = 1)
Please login to merge, or discard this patch.
phpgwapi/inc/min/lib/HTTP/ConditionalGet.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
171 171
      * )
172 172
      * </code>
173 173
      *
174
-     * @return array
174
+     * @return string
175 175
      */
176 176
     public function getHeaders()
177 177
     {
Please login to merge, or discard this patch.