Completed
Branch master (d598f1)
by Michael
02:16
created
include/Text_Diff_Renderer.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -121,10 +121,10 @@  discard block
 block discarded – undo
121 121
     }
122 122
 
123 123
     /**
124
-     * @param $xbeg
125
-     * @param $xlen
126
-     * @param $ybeg
127
-     * @param $ylen
124
+     * @param integer $xbeg
125
+     * @param integer $xlen
126
+     * @param integer $ybeg
127
+     * @param integer $ylen
128 128
      * @param $edits
129 129
      * @return string
130 130
      */
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
     }
192 192
 
193 193
     /**
194
-     * @param $header
194
+     * @param string $header
195 195
      * @return string
196 196
      */
197 197
     public function _startBlock($header)
Please login to merge, or discard this patch.
include/Text_Diff_Renderer_inline.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     }
76 76
 
77 77
     /**
78
-     * @param         $lines
78
+     * @param         string[] $lines
79 79
      * @param  string $prefix
80 80
      * @param  bool   $encode
81 81
      * @return string
@@ -161,8 +161,8 @@  discard block
 block discarded – undo
161 161
     }
162 162
 
163 163
     /**
164
-     * @param         $string
165
-     * @param  string $newlineEscape
164
+     * @param         string $string
165
+     * @param  string string
166 166
      * @return array
167 167
      */
168 168
     public function _splitOnWords($string, $newlineEscape = "\n")
Please login to merge, or discard this patch.
thumbs/phpthumb.bmp.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -744,7 +744,7 @@  discard block
 block discarded – undo
744 744
     /**
745 745
      * @param                $BMPdata
746 746
      * @param  bool          $truecolor
747
-     * @return bool|resource
747
+     * @return resource
748 748
      */
749 749
     public function PlotPixelsGD(&$BMPdata, $truecolor = true)
750 750
     {
@@ -863,7 +863,7 @@  discard block
 block discarded – undo
863 863
     // from getid3.lib.php
864 864
 
865 865
     /**
866
-     * @param $floatnumber
866
+     * @param double $floatnumber
867 867
      * @return float|int
868 868
      */
869 869
     public function trunc($floatnumber)
@@ -885,7 +885,7 @@  discard block
 block discarded – undo
885 885
     }
886 886
 
887 887
     /**
888
-     * @param $byteword
888
+     * @param string $byteword
889 889
      * @return int
890 890
      */
891 891
     public function LittleEndian2Int($byteword)
@@ -925,7 +925,7 @@  discard block
 block discarded – undo
925 925
     }
926 926
 
927 927
     /**
928
-     * @param $rawdata
928
+     * @param string $rawdata
929 929
      * @return float|int
930 930
      */
931 931
     public function FixedPoint2_30($rawdata)
@@ -936,7 +936,7 @@  discard block
 block discarded – undo
936 936
     }
937 937
 
938 938
     /**
939
-     * @param            $binstring
939
+     * @param            string $binstring
940 940
      * @param  bool      $signed
941 941
      * @return float|int
942 942
      */
Please login to merge, or discard this patch.
thumbs/phpthumb.class.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -693,7 +693,7 @@  discard block
 block discarded – undo
693 693
     // public:
694 694
 
695 695
     /**
696
-     * @return bool
696
+     * @return boolean|null
697 697
      */
698 698
     public function OutputThumbnail()
699 699
     {
@@ -1284,7 +1284,7 @@  discard block
 block discarded – undo
1284 1284
     /* True if the provided path points inside one of open_basedirs (or if open_basedirs are disabled) */
1285 1285
     // http://support.silisoftware.com/phpBB3/viewtopic.php?t=961
1286 1286
     /**
1287
-     * @param $path
1287
+     * @param string $path
1288 1288
      * @return bool
1289 1289
      */
1290 1290
     public function isInOpenBasedir($path)
@@ -1782,7 +1782,7 @@  discard block
 block discarded – undo
1782 1782
     }
1783 1783
 
1784 1784
     /**
1785
-     * @return bool|null|string
1785
+     * @return boolean|string
1786 1786
      */
1787 1787
     public function ImageMagickFormatsList()
1788 1788
     {
@@ -4766,7 +4766,7 @@  discard block
 block discarded – undo
4766 4766
     }
4767 4767
 
4768 4768
     /**
4769
-     * @param $text
4769
+     * @param string $text
4770 4770
      * @return bool
4771 4771
      */
4772 4772
     public function FatalError($text)
@@ -4779,7 +4779,7 @@  discard block
 block discarded – undo
4779 4779
     }
4780 4780
 
4781 4781
     /**
4782
-     * @param       $text
4782
+     * @param       string $text
4783 4783
      * @param  int  $width
4784 4784
      * @param  int  $height
4785 4785
      * @param  bool $forcedisplay
@@ -5091,7 +5091,7 @@  discard block
 block discarded – undo
5091 5091
     }
5092 5092
 
5093 5093
     /**
5094
-     * @param         $message
5094
+     * @param         string $message
5095 5095
      * @param  string $file
5096 5096
      * @param  string $line
5097 5097
      * @param  int    $timestamp
Please login to merge, or discard this patch.
thumbs/phpthumb.filters.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     //}
23 23
 
24 24
     /**
25
-     * @param         $message
25
+     * @param         string $message
26 26
      * @param  string $file
27 27
      * @param  string $line
28 28
      * @return bool
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
     /**
240 240
      * @param       $gdimg
241 241
      * @param  int  $amount
242
-     * @return bool
242
+     * @return boolean|null
243 243
      */
244 244
     public function Contrast(&$gdimg, $amount = 0)
245 245
     {
@@ -972,7 +972,7 @@  discard block
 block discarded – undo
972 972
      * @param  int    $rotate_angle
973 973
      * @param  string $config_background_hexcolor
974 974
      * @param  null   $bg
975
-     * @param         $phpThumbObject
975
+     * @param         phpthumb $phpThumbObject
976 976
      * @return bool
977 977
      */
978 978
     public static function ImprovedImageRotate(
@@ -1322,8 +1322,8 @@  discard block
 block discarded – undo
1322 1322
 
1323 1323
     /**
1324 1324
      * @param $image
1325
-     * @param $dither
1326
-     * @param $ncolors
1325
+     * @param boolean $dither
1326
+     * @param integer $ncolors
1327 1327
      * @return bool
1328 1328
      */
1329 1329
     public function ImageTrueColorToPalette2(&$image, $dither, $ncolors)
Please login to merge, or discard this patch.
thumbs/phpthumb.functions.php 1 patch
Doc Comments   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     }
35 35
 
36 36
     /**
37
-     * @param $functionname
37
+     * @param string $functionname
38 38
      * @return bool
39 39
      */
40 40
     public static function builtin_function_exists($functionname)
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
52 52
     }
53 53
 
54 54
     /**
55
-     * @param         $version1
56
-     * @param         $version2
55
+     * @param         string $version1
56
+     * @param         string $version2
57 57
      * @param  string $operator
58 58
      * @return int
59 59
      */
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 
121 121
     /**
122 122
      * @param            $version1
123
-     * @param            $version2
123
+     * @param            string $version2
124 124
      * @param  string    $operator
125 125
      * @return int|mixed
126 126
      */
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
     }
271 271
 
272 272
     /**
273
-     * @param $string
273
+     * @param string $string
274 274
      * @return string
275 275
      */
276 276
     public static function HexCharDisplay($string)
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
 
404 404
     /**
405 405
      * @param $rgb
406
-     * @return int
406
+     * @return double
407 407
      */
408 408
     public static function GrayscalePixelRGB($rgb)
409 409
     {
@@ -415,8 +415,8 @@  discard block
 block discarded – undo
415 415
     }
416 416
 
417 417
     /**
418
-     * @param        $width
419
-     * @param        $height
418
+     * @param        integer $width
419
+     * @param        integer $height
420 420
      * @param  null  $maxwidth
421 421
      * @param  null  $maxheight
422 422
      * @param  bool  $allow_enlarge
@@ -550,10 +550,10 @@  discard block
 block discarded – undo
550 550
      * @param       $src_im
551 551
      * @param       $dst_x
552 552
      * @param       $dst_y
553
-     * @param       $src_x
554
-     * @param       $src_y
555
-     * @param       $src_w
556
-     * @param       $src_h
553
+     * @param       integer $src_x
554
+     * @param       integer $src_y
555
+     * @param       integer $src_w
556
+     * @param       integer $src_h
557 557
      * @param  int  $opacity_pct
558 558
      * @return bool
559 559
      */
@@ -589,8 +589,8 @@  discard block
 block discarded – undo
589 589
     }
590 590
 
591 591
     /**
592
-     * @param             $old_width
593
-     * @param             $old_height
592
+     * @param             integer $old_width
593
+     * @param             integer $old_height
594 594
      * @param  bool       $new_width
595 595
      * @param  bool       $new_height
596 596
      * @return array|bool
@@ -620,7 +620,7 @@  discard block
 block discarded – undo
620 620
     }
621 621
 
622 622
     /**
623
-     * @param $function
623
+     * @param string $function
624 624
      * @return bool
625 625
      */
626 626
     public static function FunctionIsDisabled($function)
@@ -645,7 +645,7 @@  discard block
 block discarded – undo
645 645
     }
646 646
 
647 647
     /**
648
-     * @param $command
648
+     * @param string $command
649 649
      * @return bool|string
650 650
      */
651 651
     public static function SafeExec($command)
@@ -827,7 +827,7 @@  discard block
 block discarded – undo
827 827
 
828 828
     /**
829 829
      * @param $filename
830
-     * @return bool|string
830
+     * @return string|false
831 831
      */
832 832
     public static function md5_file_safe($filename)
833 833
     {
@@ -866,7 +866,7 @@  discard block
 block discarded – undo
866 866
     }
867 867
 
868 868
     /**
869
-     * @param         $number
869
+     * @param         integer $number
870 870
      * @param  int    $minbytes
871 871
      * @return string
872 872
      */
@@ -898,8 +898,8 @@  discard block
 block discarded – undo
898 898
     }
899 899
 
900 900
     /**
901
-     * @param $needle
902
-     * @param $haystack
901
+     * @param string $needle
902
+     * @param string[] $haystack
903 903
      * @return bool
904 904
      */
905 905
     public static function CaseInsensitiveInArray($needle, $haystack)
@@ -918,7 +918,7 @@  discard block
 block discarded – undo
918 918
 
919 919
     /**
920 920
      * @param                   $host
921
-     * @param                   $file
921
+     * @param                   string $file
922 922
      * @param                   $errstr
923 923
      * @param  bool             $successonly
924 924
      * @param  int              $port
@@ -1241,7 +1241,7 @@  discard block
 block discarded – undo
1241 1241
 
1242 1242
     /**
1243 1243
      * @param $password
1244
-     * @return int
1244
+     * @return double
1245 1245
      */
1246 1246
     public static function PasswordStrength($password)
1247 1247
     {
Please login to merge, or discard this patch.
thumbs/phpthumb.gif.php 1 patch
Doc Comments   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
 /**
77 77
  * @param       $gif
78
- * @param       $lpszFileName
78
+ * @param       string $lpszFileName
79 79
  * @param  int  $bgColor
80 80
  * @return bool
81 81
  */
@@ -241,9 +241,9 @@  discard block
 block discarded – undo
241 241
     ///////////////////////////////////////////////////////////////////////////
242 242
 
243 243
     /**
244
-     * @param $data
245
-     * @param $datLen
246
-     * @return bool|string
244
+     * @param string $data
245
+     * @param integer $datLen
246
+     * @return false|string
247 247
      */
248 248
     public function deCompress($data, &$datLen)
249 249
     {
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
 
272 272
     /**
273 273
      * @param $data
274
-     * @param $bInit
274
+     * @param boolean $bInit
275 275
      * @return int
276 276
      */
277 277
     public function LZWCommand(&$data, $bInit)
@@ -476,8 +476,8 @@  discard block
 block discarded – undo
476 476
     ///////////////////////////////////////////////////////////////////////////
477 477
 
478 478
     /**
479
-     * @param $lpData
480
-     * @param $num
479
+     * @param string $lpData
480
+     * @param integer $num
481 481
      * @return bool
482 482
      */
483 483
     public function load($lpData, $num)
@@ -607,7 +607,7 @@  discard block
 block discarded – undo
607 607
 
608 608
     /**
609 609
      * @param $lpData
610
-     * @param $hdrLen
610
+     * @param integer $hdrLen
611 611
      * @return bool
612 612
      */
613 613
     public function load($lpData, &$hdrLen)
@@ -648,7 +648,7 @@  discard block
 block discarded – undo
648 648
     ///////////////////////////////////////////////////////////////////////////
649 649
 
650 650
     /**
651
-     * @param $str
651
+     * @param string $str
652 652
      * @return int
653 653
      */
654 654
     public function w2i($str)
@@ -696,8 +696,8 @@  discard block
 block discarded – undo
696 696
     ///////////////////////////////////////////////////////////////////////////
697 697
 
698 698
     /**
699
-     * @param $lpData
700
-     * @param $hdrLen
699
+     * @param string $lpData
700
+     * @param integer $hdrLen
701 701
      * @return bool
702 702
      */
703 703
     public function load($lpData, &$hdrLen)
@@ -734,7 +734,7 @@  discard block
 block discarded – undo
734 734
     ///////////////////////////////////////////////////////////////////////////
735 735
 
736 736
     /**
737
-     * @param $str
737
+     * @param string $str
738 738
      * @return int
739 739
      */
740 740
     public function w2i($str)
@@ -781,8 +781,8 @@  discard block
 block discarded – undo
781 781
     ///////////////////////////////////////////////////////////////////////////
782 782
 
783 783
     /**
784
-     * @param $data
785
-     * @param $datLen
784
+     * @param string $data
785
+     * @param integer $datLen
786 786
      * @return bool
787 787
      */
788 788
     public function load($data, &$datLen)
@@ -835,8 +835,8 @@  discard block
 block discarded – undo
835 835
     ///////////////////////////////////////////////////////////////////////////
836 836
 
837 837
     /**
838
-     * @param $data
839
-     * @param $extLen
838
+     * @param string $data
839
+     * @param integer $extLen
840 840
      * @return bool
841 841
      */
842 842
     public function skipExt(&$data, &$extLen)
@@ -886,7 +886,7 @@  discard block
 block discarded – undo
886 886
     ///////////////////////////////////////////////////////////////////////////
887 887
 
888 888
     /**
889
-     * @param $str
889
+     * @param string $str
890 890
      * @return int
891 891
      */
892 892
     public function w2i($str)
@@ -965,7 +965,7 @@  discard block
 block discarded – undo
965 965
 
966 966
     /**
967 967
      * @param $lpszFileName
968
-     * @param $iIndex
968
+     * @param integer $iIndex
969 969
      * @return bool
970 970
      */
971 971
     public function loadFile($lpszFileName, $iIndex)
@@ -1132,7 +1132,7 @@  discard block
 block discarded – undo
1132 1132
     ///////////////////////////////////////////////////////////////////////////
1133 1133
 
1134 1134
     /**
1135
-     * @param $bgColor
1135
+     * @param integer $bgColor
1136 1136
      * @return string
1137 1137
      */
1138 1138
     public function getPng($bgColor)
Please login to merge, or discard this patch.
thumbs/phpThumb.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 }
46 46
 
47 47
 /**
48
- * @return bool
48
+ * @return null|boolean
49 49
  */
50 50
 function RedirectToCachedFile()
51 51
 {
Please login to merge, or discard this patch.
class/APCal.php 1 patch
Doc Comments   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -351,7 +351,7 @@  discard block
 block discarded – undo
351 351
 
352 352
         /**
353 353
          * @param $str
354
-         * @return mixed
354
+         * @return string
355 355
          */
356 356
         public function urlencode($str)
357 357
         {
@@ -361,8 +361,8 @@  discard block
 block discarded – undo
361 361
         }
362 362
 
363 363
         /**
364
-         * @param $str
365
-         * @return mixed
364
+         * @param string $str
365
+         * @return string
366 366
          */
367 367
         public function makeShort($str)
368 368
         {
@@ -492,8 +492,8 @@  discard block
 block discarded – undo
492 492
         // �������μ��फ���طʿ���ʸ�������
493 493
 
494 494
         /**
495
-         * @param $daytype
496
-         * @return array
495
+         * @param integer $daytype
496
+         * @return string[]
497 497
          */
498 498
         public function daytype_to_colors($daytype)
499 499
         {
@@ -730,8 +730,8 @@  discard block
 block discarded – undo
730 730
         // �ߥ˥��������ѥ��٥�ȼ����ؿ�
731 731
 
732 732
         /**
733
-         * @param         $range_start_s
734
-         * @param         $range_end_s
733
+         * @param         integer $range_start_s
734
+         * @param         integer $range_end_s
735 735
          * @param  string $mode
736 736
          * @return mixed
737 737
          */
@@ -3644,7 +3644,7 @@  discard block
 block discarded – undo
3644 3644
         //added function by goffy
3645 3645
 
3646 3646
         /**
3647
-         * @param $event_id
3647
+         * @param integer $event_id
3648 3648
          */
3649 3649
         public function delete_regonline($event_id)
3650 3650
         {
@@ -3786,7 +3786,7 @@  discard block
 block discarded – undo
3786 3786
 
3787 3787
         /**
3788 3788
          * @param $tz
3789
-         * @return array
3789
+         * @return string[]
3790 3790
          */
3791 3791
         public function get_timezone_desc($tz)
3792 3792
         {
@@ -3871,8 +3871,8 @@  discard block
 block discarded – undo
3871 3871
         // ǯ����Υƥ����ȥܥå������Ϥ�����ơ�UnixTimestamp���֤�
3872 3872
 
3873 3873
         /**
3874
-         * @param $date_desc
3875
-         * @param $default_unixtime
3874
+         * @param string $date_desc
3875
+         * @param integer $default_unixtime
3876 3876
          * @return array
3877 3877
          */
3878 3878
         public function parse_posted_date($date_desc, $default_unixtime)
@@ -4043,7 +4043,7 @@  discard block
 block discarded – undo
4043 4043
         // unixtimestamp���顢���ߤθ����ɽ�����줿 DHI ������
4044 4044
 
4045 4045
         /**
4046
-         * @param         $time
4046
+         * @param         integer $time
4047 4047
          * @param  bool   $is_over24
4048 4048
          * @return string
4049 4049
          */
@@ -4115,8 +4115,8 @@  discard block
 block discarded – undo
4115 4115
         // unixtimestamp���顢�������(timestamp����)�ʹߤ�ͽ�������ʸ���������
4116 4116
 
4117 4117
         /**
4118
-         * @param         $start
4119
-         * @param         $now
4118
+         * @param         integer $start
4119
+         * @param         integer $now
4120 4120
          * @param  bool   $admission
4121 4121
          * @return string
4122 4122
          */
@@ -4156,8 +4156,8 @@  discard block
 block discarded – undo
4156 4156
         // ���Ĥ�unixtimestamp���顢������(Y-n-j����)��ͽ����֤�ʸ���������ʴ�˥��ߡ�
4157 4157
 
4158 4158
         /**
4159
-         * @param         $start
4160
-         * @param         $end
4159
+         * @param         integer $start
4160
+         * @param         integer $end
4161 4161
          * @param         $ynj
4162 4162
          * @param  bool   $justify
4163 4163
          * @param  bool   $admission
@@ -4235,8 +4235,8 @@  discard block
 block discarded – undo
4235 4235
 
4236 4236
         /**
4237 4237
          * @param         $event
4238
-         * @param         $tzoffset
4239
-         * @param         $border_for_2400
4238
+         * @param         integer $tzoffset
4239
+         * @param         integer $border_for_2400
4240 4240
          * @param  bool   $justify
4241 4241
          * @param  bool   $admission
4242 4242
          * @return string
@@ -4299,7 +4299,7 @@  discard block
 block discarded – undo
4299 4299
         // �������ϥܥå����δؿ� (JavaScript�����Ϥ���ݤ�Override�о�)
4300 4300
 
4301 4301
         /**
4302
-         * @param $name
4302
+         * @param string $name
4303 4303
          * @param $value
4304 4304
          * @return string
4305 4305
          */
@@ -4405,7 +4405,7 @@  discard block
 block discarded – undo
4405 4405
 
4406 4406
         /**
4407 4407
          * @param $str
4408
-         * @param $option
4408
+         * @param string $option
4409 4409
          * @return string
4410 4410
          */
4411 4411
         public function mb_convert_kana($str, $option)
@@ -4703,7 +4703,7 @@  discard block
 block discarded – undo
4703 4703
         }
4704 4704
 
4705 4705
         /**
4706
-         * @param         $uri
4706
+         * @param         string $uri
4707 4707
          * @param  bool   $force_http
4708 4708
          * @param  string $user_uri
4709 4709
          * @return string
@@ -5175,7 +5175,7 @@  discard block
 block discarded – undo
5175 5175
 
5176 5176
         /**
5177 5177
          * @param $start
5178
-         * @param $allday_flag
5178
+         * @param boolean $allday_flag
5179 5179
          * @return string
5180 5180
          */
5181 5181
         public function rrule_from_post($start, $allday_flag)
Please login to merge, or discard this patch.