Passed
Push — 1.10.x ( f75118...849f97 )
by Angel Fernando Quiroz
52:16
created
main/inc/lib/pear/Pager/HtmlWidgets.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,8 @@
 block discarded – undo
55 55
     /**
56 56
      * Constructor
57 57
      *
58
-     * @param object &$pager Pager instance
58
+     * @param object &$pager Pager instance
59
+     * @param Pager_Common $pager
59 60
      */
60 61
     function Pager_HtmlWidgets(&$pager)
61 62
     {
Please login to merge, or discard this patch.
main/inc/lib/pear/Pager/Sliding.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
      *
108 108
      * @param integer $pageid PageID to get offsets for
109 109
      *
110
-     * @return array  First and last offsets
110
+     * @return integer[]  First and last offsets
111 111
      * @access public
112 112
      */
113 113
     function getPageRangeByPageId($pageid = null)
Please login to merge, or discard this patch.
main/inc/lib/pear/PEAR.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -490,7 +490,7 @@  discard block
 block discarded – undo
490 490
      *                  PEAR_ERROR_TRIGGER, PEAR_ERROR_DIE,
491 491
      *                  PEAR_ERROR_CALLBACK, PEAR_ERROR_EXCEPTION.
492 492
      *
493
-     * @param mixed $options If $mode is PEAR_ERROR_TRIGGER, this parameter
493
+     * @param integer|null $options If $mode is PEAR_ERROR_TRIGGER, this parameter
494 494
      *                  specifies the PHP-internal error level (one of
495 495
      *                  E_USER_NOTICE, E_USER_WARNING or E_USER_ERROR).
496 496
      *                  If $mode is PEAR_ERROR_CALLBACK, this
@@ -581,6 +581,7 @@  discard block
 block discarded – undo
581 581
      * message, code and userinfo are enough.
582 582
      *
583 583
      * @param string $message
584
+     * @param integer $code
584 585
      *
585 586
      */
586 587
     function &throwError($message = null,
@@ -864,7 +865,7 @@  discard block
 block discarded – undo
864 865
      * PEAR_ERROR_PRINT, PEAR_ERROR_DIE, PEAR_ERROR_TRIGGER,
865 866
      * PEAR_ERROR_CALLBACK or PEAR_ERROR_EXCEPTION
866 867
      *
867
-     * @param mixed $options   (optional) error level, _OR_ in the case of
868
+     * @param integer $options   (optional) error level, _OR_ in the case of
868 869
      * PEAR_ERROR_CALLBACK, the callback function or object/method
869 870
      * tuple.
870 871
      *
Please login to merge, or discard this patch.
main/inc/lib/pear/Text/Diff/Engine/native.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -147,6 +147,7 @@  discard block
 block discarded – undo
147 147
      * the two files do not match, and likewise that the last lines do not
148 148
      * match.  The caller must trim matching lines from the beginning and end
149 149
      * of the portions it is going to specify.
150
+     * @param double $nchunks
150 151
      */
151 152
     function _diag ($xoff, $xlim, $yoff, $ylim, $nchunks)
152 153
     {
@@ -267,6 +268,10 @@  discard block
 block discarded – undo
267 268
      *
268 269
      * Note that XLIM, YLIM are exclusive bounds.  All line numbers are
269 270
      * origin-0 and discarded lines are not counted.
271
+     * @param integer $xoff
272
+     * @param integer $xlim
273
+     * @param integer $yoff
274
+     * @param integer $ylim
270 275
      */
271 276
     function _compareseq ($xoff, $xlim, $yoff, $ylim)
272 277
     {
Please login to merge, or discard this patch.
main/inc/lib/pear/Text/Diff/Renderer.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -143,6 +143,12 @@  discard block
 block discarded – undo
143 143
         return $output . $this->_endDiff();
144 144
     }
145 145
 
146
+    /**
147
+     * @param integer $xbeg
148
+     * @param integer $xlen
149
+     * @param integer $ybeg
150
+     * @param integer $ylen
151
+     */
146 152
     function _block($xbeg, $xlen, $ybeg, $ylen, &$edits)
147 153
     {
148 154
         $output = $this->_startBlock($this->_blockHeader($xbeg, $xlen, $ybeg, $ylen));
@@ -199,6 +205,9 @@  discard block
 block discarded – undo
199 205
         return $xbeg . ($xlen ? ($ylen ? 'c' : 'd') : 'a') . $ybeg;
200 206
     }
201 207
 
208
+    /**
209
+     * @param string $header
210
+     */
202 211
     function _startBlock($header)
203 212
     {
204 213
         return $header . "\n";
Please login to merge, or discard this patch.
main/inc/lib/pear/Text/Diff/Renderer/inline.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@  discard block
 block discarded – undo
74 74
         return $header;
75 75
     }
76 76
 
77
+    /**
78
+     * @param string[] $lines
79
+     */
77 80
     function _lines($lines, $prefix = ' ', $encode = true)
78 81
     {
79 82
         if ($encode) {
@@ -141,6 +144,9 @@  discard block
 block discarded – undo
141 144
         return str_replace($nl, "\n", $renderer->render($diff)) . "\n";
142 145
     }
143 146
 
147
+    /**
148
+     * @param string $string
149
+     */
144 150
     function _splitOnWords($string, $newlineEscape = "\n")
145 151
     {
146 152
         // Ignore \0; otherwise the while loop will never finish.
Please login to merge, or discard this patch.
main/inc/lib/pear/Text/Password.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -180,6 +180,7 @@  discard block
 block discarded – undo
180 180
      * @access private
181 181
      * @param  string  Login
182 182
      * @param  integer Key
183
+     * @param integer $key
183 184
      * @return string
184 185
      */
185 186
     function _xor($login, $key)
@@ -208,6 +209,7 @@  discard block
 block discarded – undo
208 209
      * @access private
209 210
      * @param  string  Login
210 211
      * @param  integer Key
212
+     * @param integer $key
211 213
      * @return string
212 214
      */
213 215
     function _rotx($login, $key)
@@ -241,6 +243,7 @@  discard block
 block discarded – undo
241 243
      * @access private
242 244
      * @param  string  Login
243 245
      * @param  integer Key
246
+     * @param integer $key
244 247
      * @return string
245 248
      */
246 249
     function _rotxpp($login, $key)
@@ -274,6 +277,7 @@  discard block
 block discarded – undo
274 277
      * @access private
275 278
      * @param  string  Login
276 279
      * @param  integer Key
280
+     * @param integer $key
277 281
      * @return string
278 282
      */
279 283
     function _rotxmm($login, $key)
@@ -306,6 +310,7 @@  discard block
 block discarded – undo
306 310
      * @access private
307 311
      * @param  string  Login
308 312
      * @param  integer Key
313
+     * @param integer $key
309 314
      * @return string
310 315
      */
311 316
     function _asciiRotx($login, $key)
@@ -340,6 +345,7 @@  discard block
 block discarded – undo
340 345
      * @access private
341 346
      * @param  string  Login
342 347
      * @param  integer Key
348
+     * @param integer $key
343 349
      * @return string
344 350
      */
345 351
     function _asciiRotxpp($login, $key)
@@ -374,6 +380,7 @@  discard block
 block discarded – undo
374 380
      * @access private
375 381
      * @param  string  Login
376 382
      * @param  integer Key
383
+     * @param integer $key
377 384
      * @return string
378 385
      */
379 386
     function _asciiRotxmm($login, $key)
@@ -430,6 +437,7 @@  discard block
 block discarded – undo
430 437
      *
431 438
      * @access private
432 439
      * @param  integer Length of the password
440
+     * @param integer $length
433 441
      * @return string  Returns the password
434 442
      */
435 443
     function _createPronounceable($length)
@@ -475,6 +483,8 @@  discard block
 block discarded – undo
475 483
      * @param  string  Character which could be use in the
476 484
      *                 unpronounceable password ex : 'ABCDEFG'
477 485
      *                 or numeric, alphabetical or alphanumeric.
486
+     * @param integer $length
487
+     * @param string $chars
478 488
      * @return string  Returns the password
479 489
      */
480 490
     function _createUnpronounceable($length, $chars)
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/lib/log4php/appenders/LoggerAppenderAdodb.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
      * Setup db connection.
116 116
      * Based on defined options, this method connects to db defined in {@link $dsn}
117 117
      * and creates a {@link $table} table if {@link $createTable} is true.
118
-     * @return boolean true if all ok.
118
+     * @return boolean|null true if all ok.
119 119
      */
120 120
     function activateOptions()
121 121
     {        
Please login to merge, or discard this patch.
main/inc/lib/phpdocx/lib/log4php/appenders/LoggerAppenderFile.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -151,10 +151,16 @@
 block discarded – undo
151 151
 		return $this->append;
152 152
 	}
153 153
 
154
+	/**
155
+	 * @param boolean $flag
156
+	 */
154 157
 	public function setAppend($flag) {
155 158
 		$this->append = LoggerOptionConverter::toBoolean($flag, true);		  
156 159
 	}
157 160
 
161
+	/**
162
+	 * @param string $fileName
163
+	 */
158 164
 	public function setFileName($fileName) {
159 165
 		$this->fileName = $fileName;
160 166
 	}
Please login to merge, or discard this patch.