Completed
Push — master ( 786b6e...dc199a )
by Michael
01:38
created
fpdf/chinese.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@  discard block
 block discarded – undo
29 29
 
30 30
 class PDF_Chinese extends FPDF
31 31
 {
32
+/**
33
+ * @param string $style
34
+ */
32 35
 function AddCIDFont($family,$style,$name,$cw,$CMap,$registry)
33 36
 {
34 37
   $fontkey=strtolower($family).strtoupper($style);
@@ -39,6 +42,11 @@  discard block
 block discarded – undo
39 42
   $this->fonts[$fontkey]=array('i'=>$i,'type'=>'Type0','name'=>$name,'up'=>-130,'ut'=>40,'cw'=>$cw,'CMap'=>$CMap,'registry'=>$registry);
40 43
 }
41 44
 
45
+/**
46
+ * @param string $family
47
+ * @param string $name
48
+ * @param string $CMap
49
+ */
42 50
 function AddCIDFonts($family,$name,$cw,$CMap,$registry)
43 51
 {
44 52
   $this->AddCIDFont($family,'',$name,$cw,$CMap,$registry);
@@ -230,6 +238,9 @@  discard block
 block discarded – undo
230 238
     parent::Write($h,$txt,$link);
231 239
 }
232 240
 
241
+/**
242
+ * @param string $link
243
+ */
233 244
 function MBWrite($h,$txt,$link)
234 245
 {
235 246
   //Multi-byte version of Write()
Please login to merge, or discard this patch.
fpdf/font/makefont/makefont.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -5,6 +5,9 @@  discard block
 block discarded – undo
5 5
 * Date:    2004-12-31                                                          *
6 6
 *******************************************************************************/
7 7
 
8
+/**
9
+ * @param string $enc
10
+ */
8 11
 function ReadMap($enc)
9 12
 {
10 13
   //Read a map file
@@ -134,6 +137,9 @@  discard block
 block discarded – undo
134 137
   return $fm;
135 138
 }
136 139
 
140
+/**
141
+ * @param boolean $symbolic
142
+ */
137 143
 function MakeFontDescriptor($fm,$symbolic)
138 144
 {
139 145
   //Ascent
@@ -232,6 +238,10 @@  discard block
 block discarded – undo
232 238
   return rtrim($s);
233 239
 }
234 240
 
241
+/**
242
+ * @param string $file
243
+ * @param string $s
244
+ */
235 245
 function SaveToFile($file,$s,$mode='t')
236 246
 {
237 247
   $f=fopen($file,'w'.$mode);
Please login to merge, or discard this patch.
fpdf/fpdf.php 1 patch
Doc Comments   +30 added lines patch added patch discarded remove patch
@@ -183,6 +183,10 @@  discard block
 block discarded – undo
183 183
   $this->PDFVersion='1.3';
184 184
 }
185 185
 
186
+/**
187
+ * @param double $left
188
+ * @param double $top
189
+ */
186 190
 function SetMargins($left,$top,$right=-1)
187 191
 {
188 192
   //Set left, top and right margins
@@ -213,6 +217,9 @@  discard block
 block discarded – undo
213 217
   $this->rMargin=$margin;
214 218
 }
215 219
 
220
+/**
221
+ * @param boolean $auto
222
+ */
216 223
 function SetAutoPageBreak($auto,$margin=0)
217 224
 {
218 225
   //Set auto page break mode and triggering margin
@@ -221,6 +228,9 @@  discard block
 block discarded – undo
221 228
   $this->PageBreakTrigger=$this->h-$margin;
222 229
 }
223 230
 
231
+/**
232
+ * @param string $zoom
233
+ */
224 234
 function SetDisplayMode($zoom,$layout='continuous')
225 235
 {
226 236
   //Set display mode in viewer
@@ -234,6 +244,9 @@  discard block
 block discarded – undo
234 244
     $this->Error('Incorrect layout display mode: '.$layout);
235 245
 }
236 246
 
247
+/**
248
+ * @param boolean $compress
249
+ */
237 250
 function SetCompression($compress)
238 251
 {
239 252
   //Set page compression
@@ -437,6 +450,9 @@  discard block
 block discarded – undo
437 450
   return $w*$this->FontSize/1000;
438 451
 }
439 452
 
453
+/**
454
+ * @param double $width
455
+ */
440 456
 function SetLineWidth($width)
441 457
 {
442 458
   //Set line width
@@ -445,6 +461,9 @@  discard block
 block discarded – undo
445 461
     $this->_out(sprintf('%.2f w',$width*$this->k));
446 462
 }
447 463
 
464
+/**
465
+ * @param double $x2
466
+ */
448 467
 function Line($x1,$y1,$x2,$y2)
449 468
 {
450 469
   //Draw a line
@@ -601,6 +620,10 @@  discard block
 block discarded – undo
601 620
   $this->links[$link]=array($page,$y);
602 621
 }
603 622
 
623
+/**
624
+ * @param double $y
625
+ * @param string $link
626
+ */
604 627
 function Link($x,$y,$w,$h,$link)
605 628
 {
606 629
   //Put a link on the page
@@ -989,6 +1012,10 @@  discard block
 block discarded – undo
989 1012
     $this->y=$this->h+$y;
990 1013
 }
991 1014
 
1015
+/**
1016
+ * @param integer $x
1017
+ * @param integer $y
1018
+ */
992 1019
 function SetXY($x,$y)
993 1020
 {
994 1021
   //Set x and y positions
@@ -1441,6 +1468,9 @@  discard block
 block discarded – undo
1441 1468
   $this->state=3;
1442 1469
 }
1443 1470
 
1471
+/**
1472
+ * @param string $orientation
1473
+ */
1444 1474
 function _beginpage($orientation)
1445 1475
 {
1446 1476
   $this->page++;
Please login to merge, or discard this patch.
fpdf/gif.php 1 patch
Doc Comments   +40 added lines patch added patch discarded remove patch
@@ -142,6 +142,10 @@  discard block
 block discarded – undo
142 142
 
143 143
   ///////////////////////////////////////////////////////////////////////////
144 144
 
145
+  /**
146
+   * @param string $data
147
+   * @param integer $datLen
148
+   */
145 149
   function deCompress($data, &$datLen)
146 150
   {
147 151
     $stLen  = strlen($data);
@@ -166,6 +170,11 @@  discard block
 block discarded – undo
166 170
 
167 171
   ///////////////////////////////////////////////////////////////////////////
168 172
 
173
+  /**
174
+   * @param boolean $bInit
175
+   *
176
+   * @return integer
177
+   */
169 178
   function LZWCommand(&$data, $bInit)
170 179
   {
171 180
     if($bInit) {
@@ -355,6 +364,10 @@  discard block
 block discarded – undo
355 364
 
356 365
   ///////////////////////////////////////////////////////////////////////////
357 366
 
367
+  /**
368
+   * @param string $lpData
369
+   * @param integer $num
370
+   */
358 371
   function load($lpData, $num)
359 372
   {
360 373
     $this->m_nColors  = 0;
@@ -466,6 +479,9 @@  discard block
 block discarded – undo
466 479
 
467 480
   ///////////////////////////////////////////////////////////////////////////
468 481
 
482
+  /**
483
+   * @param integer $hdrLen
484
+   */
469 485
   function load($lpData, &$hdrLen)
470 486
   {
471 487
     $hdrLen = 0;
@@ -503,6 +519,9 @@  discard block
 block discarded – undo
503 519
 
504 520
   ///////////////////////////////////////////////////////////////////////////
505 521
 
522
+  /**
523
+   * @param string $str
524
+   */
506 525
   function w2i($str)
507 526
   {
508 527
     return ord(substr($str, 0, 1)) + (ord(substr($str, 1, 1)) << 8);
@@ -541,6 +560,10 @@  discard block
 block discarded – undo
541 560
 
542 561
   ///////////////////////////////////////////////////////////////////////////
543 562
 
563
+  /**
564
+   * @param string $lpData
565
+   * @param integer $hdrLen
566
+   */
544 567
   function load($lpData, &$hdrLen)
545 568
   {
546 569
     $hdrLen = 0;
@@ -574,6 +597,9 @@  discard block
 block discarded – undo
574 597
 
575 598
   ///////////////////////////////////////////////////////////////////////////
576 599
 
600
+  /**
601
+   * @param string $str
602
+   */
577 603
   function w2i($str)
578 604
   {
579 605
     return ord(substr($str, 0, 1)) + (ord(substr($str, 1, 1)) << 8);
@@ -611,6 +637,10 @@  discard block
 block discarded – undo
611 637
 
612 638
   ///////////////////////////////////////////////////////////////////////////
613 639
 
640
+  /**
641
+   * @param string $data
642
+   * @param integer $datLen
643
+   */
614 644
   function load($data, &$datLen)
615 645
   {
616 646
     $datLen = 0;
@@ -660,6 +690,10 @@  discard block
 block discarded – undo
660 690
 
661 691
   ///////////////////////////////////////////////////////////////////////////
662 692
 
693
+  /**
694
+   * @param string $data
695
+   * @param integer $extLen
696
+   */
663 697
   function skipExt(&$data, &$extLen)
664 698
   {
665 699
     $extLen = 0;
@@ -706,6 +740,9 @@  discard block
 block discarded – undo
706 740
 
707 741
   ///////////////////////////////////////////////////////////////////////////
708 742
 
743
+  /**
744
+   * @param string $str
745
+   */
709 746
   function w2i($str)
710 747
   {
711 748
     return ord(substr($str, 0, 1)) + (ord(substr($str, 1, 1)) << 8);
@@ -777,6 +814,9 @@  discard block
 block discarded – undo
777 814
 
778 815
   ///////////////////////////////////////////////////////////////////////////
779 816
 
817
+  /**
818
+   * @param integer $iIndex
819
+   */
780 820
   function loadFile($lpszFileName, $iIndex)
781 821
   {
782 822
     if($iIndex < 0) {
Please login to merge, or discard this patch.
fpdf/japanese.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
18 18
 
19 19
 class PDF_Japanese extends FPDF
20 20
 {
21
+/**
22
+ * @param string $style
23
+ */
21 24
 function AddCIDFont($family,$style,$name,$cw,$CMap,$registry)
22 25
 {
23 26
   $fontkey=strtolower($family).strtoupper($style);
@@ -27,6 +30,11 @@  discard block
 block discarded – undo
27 30
   $this->fonts[$fontkey]=array('i'=>$i,'type'=>'Type0','name'=>$name,'up'=>-120,'ut'=>40,'cw'=>$cw,'CMap'=>$CMap,'registry'=>$registry);
28 31
 }
29 32
 
33
+/**
34
+ * @param string $family
35
+ * @param string $name
36
+ * @param string $CMap
37
+ */
30 38
 function AddCIDFonts($family,$name,$cw,$CMap,$registry)
31 39
 {
32 40
   $this->AddCIDFont($family,'',$name,$cw,$CMap,$registry);
@@ -223,6 +231,9 @@  discard block
 block discarded – undo
223 231
     parent::Write($h,$txt,$link);
224 232
 }
225 233
 
234
+/**
235
+ * @param string $link
236
+ */
226 237
 function SJISWrite($h,$txt,$link)
227 238
 {
228 239
   //SJIS version of Write()
Please login to merge, or discard this patch.
fpdf/korean.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
18 18
 
19 19
 class PDF_Korean extends FPDF
20 20
 {
21
+/**
22
+ * @param string $style
23
+ */
21 24
 function AddCIDFont($family,$style,$name,$cw,$CMap,$registry)
22 25
 {
23 26
   $fontkey=strtolower($family).strtoupper($style);
@@ -28,6 +31,11 @@  discard block
 block discarded – undo
28 31
   $this->fonts[$fontkey]=array('i'=>$i,'type'=>'Type0','name'=>$name,'up'=>-130,'ut'=>40,'cw'=>$cw,'CMap'=>$CMap,'registry'=>$registry);
29 32
 }
30 33
 
34
+/**
35
+ * @param string $family
36
+ * @param string $name
37
+ * @param string $CMap
38
+ */
31 39
 function AddCIDFonts($family,$name,$cw,$CMap,$registry)
32 40
 {
33 41
   $this->AddCIDFont($family,'',$name,$cw,$CMap,$registry);
@@ -200,6 +208,9 @@  discard block
 block discarded – undo
200 208
     parent::Write($h,$txt,$link);
201 209
 }
202 210
 
211
+/**
212
+ * @param string $link
213
+ */
203 214
 function MBWrite($h,$txt,$link)
204 215
 {
205 216
   //Multi-byte version of Write()
Please login to merge, or discard this patch.
fpdf/makepdf_class.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -155,6 +155,9 @@  discard block
 block discarded – undo
155 155
       }
156 156
   }
157 157
 
158
+  /**
159
+   * @param string $tag
160
+   */
158 161
   function OpenTag($tag,$attr,$scale)
159 162
   {
160 163
       //Opening tag
@@ -213,6 +216,9 @@  discard block
 block discarded – undo
213 216
       }
214 217
   }
215 218
 
219
+  /**
220
+   * @param string $tag
221
+   */
216 222
   function CloseTag($tag)
217 223
   {
218 224
       //Closing tag
@@ -243,6 +249,9 @@  discard block
 block discarded – undo
243 249
       }
244 250
   }
245 251
 
252
+  /**
253
+   * @param boolean $enable
254
+   */
246 255
   function SetStyle($tag,$enable)
247 256
   {
248 257
       //Modify style and select corresponding font
@@ -254,6 +263,9 @@  discard block
 block discarded – undo
254 263
       $this->SetFont('',$style);
255 264
   }
256 265
 
266
+  /**
267
+   * @param string $URL
268
+   */
257 269
   function PutLink($URL,$txt)
258 270
   {
259 271
     //Put a hyperlink
Please login to merge, or discard this patch.
admin/mygrouppermform.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -114,9 +114,9 @@  discard block
 block discarded – undo
114 114
      * Add appendix
115 115
      *
116 116
      * @access public
117
-     * @param $permName
117
+     * @param string $permName
118 118
      * @param $itemId
119
-     * @param $itemName
119
+     * @param string $itemName
120 120
      */
121 121
     public function addAppendix($permName, $itemId, $itemName)
122 122
     {
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
     /**
258 258
      * Constructor
259 259
      * @param      $caption
260
-     * @param      $name
260
+     * @param      string $name
261 261
      * @param      $groupId
262 262
      * @param null $values
263 263
      */
Please login to merge, or discard this patch.
bookmark.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -101,10 +101,10 @@  discard block
 block discarded – undo
101 101
 $sitetitle_en = urlencode(mb_convert_encoding($sitetitle, 'UTF-8', _CHARSET));
102 102
 
103 103
 /**
104
- * @param        $str
104
+ * @param        string $str
105 105
  * @param string $to
106 106
  * @param string $from
107
- * @return array|string
107
+ * @return string
108 108
  */
109 109
 function bookmark_convert_encoding($str, $to = 'SJIS', $from = _CHARSET)
110 110
 {
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 
126 126
 /**
127 127
  * @param string $data
128
- * @return array|mixed|string
128
+ * @return string
129 129
  */
130 130
 function bookmark_qrcode_encoding($data = '')
131 131
 {
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
 }
214 214
 
215 215
 /**
216
- * @param      $url
216
+ * @param      integer[] $url
217 217
  * @param null $length
218 218
  * @param int  $init
219 219
  * @return mixed
@@ -270,8 +270,8 @@  discard block
 block discarded – undo
270 270
 }
271 271
 
272 272
 /**
273
- * @param $string
274
- * @return mixed
273
+ * @param string $string
274
+ * @return integer[]
275 275
  */
276 276
 function strord($string)
277 277
 {
Please login to merge, or discard this patch.