Passed
Push — 1.10.x ( 08890a...2189d7 )
by Yannick
116:38 queued 75:46
created
main/inc/lib/nusoap/nusoapmime.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -447,7 +447,7 @@
 block discarded – undo
447 447
 	*
448 448
 	* @param	array	$headers	The HTTP headers
449 449
 	* @param	string	$data		unprocessed request data from client
450
-	* @return	mixed	value of the message, decoded into a PHP type
450
+	* @return	false|null	value of the message, decoded into a PHP type
451 451
 	* @access   private
452 452
 	*/
453 453
     function parseRequest($headers, $data) {
Please login to merge, or discard this patch.
main/inc/lib/online.inc.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -208,6 +208,8 @@  discard block
 block discarded – undo
208 208
 }
209 209
 /**
210 210
  * Gives a list of people online now (and in the last $valid minutes)
211
+ * @param integer $from
212
+ * @param integer $time_limit
211 213
  * @return  array       For each line, a list of user IDs and login dates, or FALSE on error or empty results
212 214
  */
213 215
 function who_is_online($from, $number_of_items, $column = null, $direction = null, $time_limit = null, $friends = false)
@@ -424,6 +426,9 @@  discard block
 block discarded – undo
424 426
 	}
425 427
 }
426 428
 
429
+/**
430
+ * @param integer $uid
431
+ */
427 432
 function who_is_online_in_this_course_count($uid, $time_limit, $coursecode=null)
428 433
 {
429 434
 	if (empty($coursecode)) {
Please login to merge, or discard this patch.
main/inc/lib/pclzip/pclzip.lib.php 1 patch
Doc Comments   +31 added lines patch added patch discarded remove patch
@@ -39,6 +39,11 @@  discard block
 block discarded – undo
39 39
 // http://php.net/manual/en/function.gzopen.php
40 40
 // --------------------------------------------------------------------------------
41 41
 if (!function_exists('gzopen') && function_exists('gzopen64')) {
42
+
43
+	/**
44
+	 * @param string $filename
45
+	 * @param string $mode
46
+	 */
42 47
 	function gzopen($filename, $mode, $use_include_path = 0) {
43 48
 		return gzopen64($filename, $mode, $use_include_path);
44 49
 	}
@@ -288,6 +293,10 @@  discard block
 block discarded – undo
288 293
   //   The list of the added files, with a status of the add action.
289 294
   //   (see PclZip::listContent() for list entry format)
290 295
   // --------------------------------------------------------------------------------
296
+
297
+  /**
298
+   * @param string $p_filelist
299
+   */
291 300
   function create($p_filelist)
292 301
   {
293 302
     $v_result=1;
@@ -2355,6 +2364,10 @@  discard block
 block discarded – undo
2355 2364
   // Description :
2356 2365
   // Parameters :
2357 2366
   // --------------------------------------------------------------------------------
2367
+
2368
+  /**
2369
+   * @param string $p_mode
2370
+   */
2358 2371
   function privOpenFd($p_mode)
2359 2372
   {
2360 2373
     $v_result=1;
@@ -4171,6 +4184,10 @@  discard block
 block discarded – undo
4171 4184
   // Parameters :
4172 4185
   // Return Values :
4173 4186
   // --------------------------------------------------------------------------------
4187
+
4188
+  /**
4189
+   * @param string $p_string
4190
+   */
4174 4191
   function privExtractFileAsString(&$p_entry, &$p_string, &$p_options)
4175 4192
   {
4176 4193
     $v_result=1;
@@ -5071,6 +5088,10 @@  discard block
 block discarded – undo
5071 5088
   // Parameters :
5072 5089
   // Return Values :
5073 5090
   // --------------------------------------------------------------------------------
5091
+
5092
+  /**
5093
+   * @param PclZip $p_archive_to_add
5094
+   */
5074 5095
   function privMerge(&$p_archive_to_add)
5075 5096
   {
5076 5097
     $v_result=1;
@@ -5578,6 +5599,11 @@  discard block
 block discarded – undo
5578 5599
   //             3 : src & dest gzip
5579 5600
   // Return Values :
5580 5601
   // --------------------------------------------------------------------------------
5602
+
5603
+  /**
5604
+   * @param integer $p_src
5605
+   * @param integer $p_dest
5606
+   */
5581 5607
   function PclZipUtilCopyBlock($p_src, $p_dest, $p_size, $p_mode=0)
5582 5608
   {
5583 5609
     $v_result = 1;
@@ -5640,6 +5666,11 @@  discard block
 block discarded – undo
5640 5666
   // Return Values :
5641 5667
   //   1 on success, 0 on failure.
5642 5668
   // --------------------------------------------------------------------------------
5669
+
5670
+  /**
5671
+   * @param string $p_src
5672
+   * @param string $p_dest
5673
+   */
5643 5674
   function PclZipUtilRename($p_src, $p_dest)
5644 5675
   {
5645 5676
     $v_result = 1;
Please login to merge, or discard this patch.
main/inc/lib/pdf.lib.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      *
75 75
      * @uses export/table_pdf.tpl
76 76
 
77
-     * @param $content
77
+     * @param string $content
78 78
      * @param bool|false $saveToFile
79 79
      * @param bool|false $returnHtml
80 80
      *
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
      * @param   string  pdf name
193 193
      * @param   string  course code (if you are using html that are located in the document tool you must provide this)
194 194
      * @param bool Whether to print the header, footer and watermark (true) or just the content (false)
195
-     * @return bool
195
+     * @return false|null
196 196
      */
197 197
     public function html_to_pdf(
198 198
         $html_file_array,
Please login to merge, or discard this patch.
main/inc/lib/pear/excelreader/reader.php 1 patch
Doc Comments   +20 added lines patch added patch discarded remove patch
@@ -264,6 +264,7 @@  discard block
 block discarded – undo
264 264
      * Set the encoding method
265 265
      *
266 266
      * @param string Encoding to use
267
+     * @param string $encoding
267 268
      * @access public
268 269
      */
269 270
     function setOutputEncoding($encoding)
@@ -924,6 +925,7 @@  discard block
 block discarded – undo
924 925
      * Check whether the current record read is a date
925 926
      *
926 927
      * @param todo
928
+     * @param integer $spos
927 929
      * @return boolean True if date, false otherwise
928 930
      */
929 931
     function isDate($spos)
@@ -982,6 +984,9 @@  discard block
 block discarded – undo
982 984
         return array($string, $raw);
983 985
     }
984 986
 
987
+    /**
988
+     * @param integer $spos
989
+     */
985 990
     function createNumber($spos)
986 991
     {
987 992
         $rknumhigh = $this->_GetInt4d($this->data, $spos + 10);
@@ -1000,6 +1005,10 @@  discard block
 block discarded – undo
1000 1005
         return  $value;
1001 1006
     }
1002 1007
 
1008
+    /**
1009
+     * @param integer $row
1010
+     * @param integer $col
1011
+     */
1003 1012
     function addcell($row, $col, $string, $raw = '')
1004 1013
     {
1005 1014
         //echo "ADD cel $row-$col $string\n";
@@ -1014,6 +1023,9 @@  discard block
 block discarded – undo
1014 1023
     }
1015 1024
 
1016 1025
 
1026
+    /**
1027
+     * @param integer $rknum
1028
+     */
1017 1029
     function _GetIEEE754($rknum)
1018 1030
     {
1019 1031
         if (($rknum & 0x02) != 0) {
@@ -1051,6 +1063,10 @@  discard block
 block discarded – undo
1051 1063
     /*
1052 1064
      * Function modified by jmontoya in order to fix a problem with encoding in excels
1053 1065
      * */
1066
+
1067
+    /**
1068
+     * @param string $string
1069
+     */
1054 1070
     function _encodeUTF16($string, $check = false) {
1055 1071
         //var_dump($this->_defaultEncoding.' '.$this->_encoderFunction.' '.$from);
1056 1072
         if ($check) {
@@ -1074,6 +1090,10 @@  discard block
 block discarded – undo
1074 1090
         */
1075 1091
     }
1076 1092
 
1093
+    /**
1094
+     * @param string $data
1095
+     * @param integer $pos
1096
+     */
1077 1097
     function _GetInt4d($data, $pos)
1078 1098
     {
1079 1099
         $value = ord($data[$pos]) | (ord($data[$pos+1]) << 8) | (ord($data[$pos+2]) << 16) | (ord($data[$pos+3]) << 24);
Please login to merge, or discard this patch.
main/inc/lib/pear/Exception.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -116,6 +116,7 @@
 block discarded – undo
116 116
      * @param string exception message
117 117
      * @param int|Exception|PEAR_Error|array|null exception cause
118 118
      * @param int|null exception code or null
119
+     * @param string $message
119 120
      */
120 121
     public function __construct($message, $p2 = null, $p3 = null)
121 122
     {
Please login to merge, or discard this patch.
main/inc/lib/pear/HTML/Common.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
      * @param     array     $attributes   Array of attribute
200 200
      * @since     1.0
201 201
      * @access    private
202
-     * @return    bool
202
+     * @return    boolean|null
203 203
      */
204 204
     function _getAttrKey($attr, $attributes)
205 205
     {
@@ -265,6 +265,7 @@  discard block
 block discarded – undo
265 265
      *
266 266
      * @param   string  Attribute name
267 267
      * @param   string  Attribute value (will be set to $name if omitted)
268
+     * @param string $name
268 269
      * @access  public
269 270
      */
270 271
     function setAttribute($name, $value = null)
Please login to merge, or discard this patch.
main/inc/lib/pear/HTML/QuickForm.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -689,6 +689,8 @@  discard block
 block discarded – undo
689 689
     * @param    HTML_QuickForm_element  Element to insert
690 690
     * @param    string                  Name of the element before which the new
691 691
     *                                   one is inserted
692
+    * @param HTML_QuickForm_element $element
693
+    * @param string $nameAfter
692 694
     * @return   HTML_QuickForm_element  reference to inserted element
693 695
     * @throws   HTML_QuickForm_Error
694 696
     */
@@ -1290,7 +1292,7 @@  discard block
 block discarded – undo
1290 1292
      * Applies a data filter for the given field(s)
1291 1293
      *
1292 1294
      * @param    mixed     $element       Form element name or array of such names
1293
-     * @param    mixed     $filter        Callback, either function name or array(&$object, 'method')
1295
+     * @param    string     $filter        Callback, either function name or array(&$object, 'method')
1294 1296
      * @since    2.0
1295 1297
      * @access   public
1296 1298
      * @throws   HTML_QuickForm_Error
@@ -2042,6 +2044,7 @@  discard block
 block discarded – undo
2042 2044
      *
2043 2045
      * @access  public
2044 2046
      * @param   int     error code
2047
+     * @param integer $value
2045 2048
      * @return  string  error message
2046 2049
      * @static
2047 2050
      */
Please login to merge, or discard this patch.
main/inc/lib/pear/HTML/QuickForm/Action/Jump.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,8 @@
 block discarded – undo
50 50
    /**
51 51
     * Removes the '..' and '.' segments from the path component
52 52
     *
53
-    * @param    string  Path component of the URL, possibly with '.' and '..' segments
53
+    * @param    string  Path component of the URL, possibly with '.' and '..' segments
54
+    * @param string $path
54 55
     * @return   string  Path component of the URL with '.' and '..' segments removed
55 56
     * @access   private
56 57
     */
Please login to merge, or discard this patch.