Completed
Push — master ( efb50c...df742c )
by Michael
09:31 queued 06:24
created
include/Text_Diff.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -456,7 +456,7 @@  discard block
 block discarded – undo
456 456
      * @param $xlim
457 457
      * @param $yoff
458 458
      * @param $ylim
459
-     * @param $nchunks
459
+     * @param double $nchunks
460 460
      * @return array
461 461
      */
462 462
     public function _diag($xoff, $xlim, $yoff, $ylim, $nchunks)
@@ -585,10 +585,10 @@  discard block
 block discarded – undo
585 585
      *
586 586
      * Note that XLIM, YLIM are exclusive bounds.  All line numbers are
587 587
      * origin-0 and discarded lines are not counted.
588
-     * @param $xoff
589
-     * @param $xlim
590
-     * @param $yoff
591
-     * @param $ylim
588
+     * @param integer $xoff
589
+     * @param integer $xlim
590
+     * @param integer $yoff
591
+     * @param integer $ylim
592 592
      */
593 593
     public function _compareseq($xoff, $xlim, $yoff, $ylim)
594 594
     {
Please login to merge, or discard this patch.
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.