@@ -105,7 +105,7 @@ |
||
| 105 | 105 | * and "_end" respectively). It then compiles the execution times for |
| 106 | 106 | * all points and returns it as an array |
| 107 | 107 | * |
| 108 | - * @return array |
|
| 108 | + * @return string |
|
| 109 | 109 | */ |
| 110 | 110 | protected function _compile_benchmarks() |
| 111 | 111 | { |
@@ -423,6 +423,7 @@ discard block |
||
| 423 | 423 | * |
| 424 | 424 | * @access public |
| 425 | 425 | * @param string |
| 426 | + * @param string $item |
|
| 426 | 427 | * @return string |
| 427 | 428 | */ |
| 428 | 429 | function userdata($item) |
@@ -614,7 +615,7 @@ discard block |
||
| 614 | 615 | * Get the "now" time |
| 615 | 616 | * |
| 616 | 617 | * @access private |
| 617 | - * @return string |
|
| 618 | + * @return integer |
|
| 618 | 619 | */ |
| 619 | 620 | function _get_time() |
| 620 | 621 | { |
@@ -146,6 +146,7 @@ discard block |
||
| 146 | 146 | * |
| 147 | 147 | * @access private |
| 148 | 148 | * @return string |
| 149 | + * @param integer $t |
|
| 149 | 150 | */ |
| 150 | 151 | function _ft($t, $b, $c, $d) |
| 151 | 152 | { |
@@ -165,7 +166,8 @@ discard block |
||
| 165 | 166 | * Determine the additive constant |
| 166 | 167 | * |
| 167 | 168 | * @access private |
| 168 | - * @return string |
|
| 169 | + * @return integer |
|
| 170 | + * @param integer $t |
|
| 169 | 171 | */ |
| 170 | 172 | function _kt($t) |
| 171 | 173 | { |
@@ -210,6 +212,7 @@ discard block |
||
| 210 | 212 | * |
| 211 | 213 | * @access private |
| 212 | 214 | * @return integer |
| 215 | + * @param integer $cnt |
|
| 213 | 216 | */ |
| 214 | 217 | function _rol($num, $cnt) |
| 215 | 218 | { |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | * |
| 50 | 50 | * @access public |
| 51 | 51 | * @param array |
| 52 | - * @return void |
|
| 52 | + * @return false|null |
|
| 53 | 53 | */ |
| 54 | 54 | function set_template($template) |
| 55 | 55 | { |
@@ -395,7 +395,7 @@ discard block |
||
| 395 | 395 | * |
| 396 | 396 | * @access public |
| 397 | 397 | * @param object |
| 398 | - * @return void |
|
| 398 | + * @return false|null |
|
| 399 | 399 | */ |
| 400 | 400 | function _set_from_object($query) |
| 401 | 401 | { |
@@ -433,7 +433,7 @@ discard block |
||
| 433 | 433 | * |
| 434 | 434 | * @access public |
| 435 | 435 | * @param array |
| 436 | - * @return void |
|
| 436 | + * @return false|null |
|
| 437 | 437 | */ |
| 438 | 438 | function _set_from_array($data, $set_heading = TRUE) |
| 439 | 439 | { |
@@ -226,6 +226,7 @@ discard block |
||
| 226 | 226 | * @access public |
| 227 | 227 | * @param string |
| 228 | 228 | * @param string |
| 229 | + * @param string $data |
|
| 229 | 230 | * @return bool |
| 230 | 231 | */ |
| 231 | 232 | function process($url, $data) |
@@ -399,6 +400,7 @@ discard block |
||
| 399 | 400 | * |
| 400 | 401 | * @access public |
| 401 | 402 | * @param string |
| 403 | + * @param string $str |
|
| 402 | 404 | * @return string |
| 403 | 405 | */ |
| 404 | 406 | function convert_xml($str) |
@@ -512,6 +514,7 @@ discard block |
||
| 512 | 514 | * |
| 513 | 515 | * @access public |
| 514 | 516 | * @param string |
| 517 | + * @param string $msg |
|
| 515 | 518 | * @return void |
| 516 | 519 | */ |
| 517 | 520 | function set_error($msg) |
@@ -251,6 +251,7 @@ |
||
| 251 | 251 | * |
| 252 | 252 | * @access public |
| 253 | 253 | * @param string |
| 254 | + * @param string $str |
|
| 254 | 255 | * @return string |
| 255 | 256 | */ |
| 256 | 257 | function format_characters($str) |
@@ -385,6 +385,8 @@ discard block |
||
| 385 | 385 | * |
| 386 | 386 | * @param string |
| 387 | 387 | * @param string |
| 388 | + * @param string $path |
|
| 389 | + * @param string $filename |
|
| 388 | 390 | * @return string |
| 389 | 391 | */ |
| 390 | 392 | public function set_filename($path, $filename) |
@@ -732,6 +734,7 @@ discard block |
||
| 732 | 734 | * Extract the file extension |
| 733 | 735 | * |
| 734 | 736 | * @param string |
| 737 | + * @param string $filename |
|
| 735 | 738 | * @return string |
| 736 | 739 | */ |
| 737 | 740 | public function get_extension($filename) |
@@ -746,6 +749,7 @@ discard block |
||
| 746 | 749 | * Clean the file name for security |
| 747 | 750 | * |
| 748 | 751 | * @param string |
| 752 | + * @param string $filename |
|
| 749 | 753 | * @return string |
| 750 | 754 | */ |
| 751 | 755 | public function clean_file_name($filename) |
@@ -790,6 +794,8 @@ discard block |
||
| 790 | 794 | * Limit the File Name Length |
| 791 | 795 | * |
| 792 | 796 | * @param string |
| 797 | + * @param string $filename |
|
| 798 | + * @param integer $length |
|
| 793 | 799 | * @return string |
| 794 | 800 | */ |
| 795 | 801 | public function limit_filename_length($filename, $length) |
@@ -885,6 +891,7 @@ discard block |
||
| 885 | 891 | * Set an error message |
| 886 | 892 | * |
| 887 | 893 | * @param string |
| 894 | + * @param string $msg |
|
| 888 | 895 | * @return void |
| 889 | 896 | */ |
| 890 | 897 | public function set_error($msg) |
@@ -938,6 +945,7 @@ discard block |
||
| 938 | 945 | * the "allowed types" set by the developer |
| 939 | 946 | * |
| 940 | 947 | * @param string |
| 948 | + * @param string $mime |
|
| 941 | 949 | * @return string |
| 942 | 950 | */ |
| 943 | 951 | public function mimes_types($mime) |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | * Compile the User Agent Data |
| 137 | 137 | * |
| 138 | 138 | * @access private |
| 139 | - * @return bool |
|
| 139 | + * @return boolean|null |
|
| 140 | 140 | */ |
| 141 | 141 | private function _compile_data() |
| 142 | 142 | { |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | * Set the Platform |
| 158 | 158 | * |
| 159 | 159 | * @access private |
| 160 | - * @return mixed |
|
| 160 | + * @return boolean|null |
|
| 161 | 161 | */ |
| 162 | 162 | private function _set_platform() |
| 163 | 163 | { |
@@ -473,7 +473,7 @@ discard block |
||
| 473 | 473 | * Get the referrer |
| 474 | 474 | * |
| 475 | 475 | * @access public |
| 476 | - * @return bool |
|
| 476 | + * @return string |
|
| 477 | 477 | */ |
| 478 | 478 | public function referrer() |
| 479 | 479 | { |
@@ -369,6 +369,9 @@ discard block |
||
| 369 | 369 | $this->path = $path; |
| 370 | 370 | } |
| 371 | 371 | |
| 372 | + /** |
|
| 373 | + * @param XML_RPC_Message $msg |
|
| 374 | + */ |
|
| 372 | 375 | function send($msg) |
| 373 | 376 | { |
| 374 | 377 | if (is_array($msg)) |
@@ -544,6 +547,9 @@ discard block |
||
| 544 | 547 | // XML-RPC Object to PHP Types |
| 545 | 548 | //------------------------------------- |
| 546 | 549 | |
| 550 | + /** |
|
| 551 | + * @param integer $xmlrpc_val |
|
| 552 | + */ |
|
| 547 | 553 | function xmlrpc_decoder($xmlrpc_val) |
| 548 | 554 | { |
| 549 | 555 | $kind = $xmlrpc_val->kindOf(); |
@@ -1234,6 +1240,9 @@ discard block |
||
| 1234 | 1240 | } |
| 1235 | 1241 | } |
| 1236 | 1242 | |
| 1243 | + /** |
|
| 1244 | + * @param integer $val |
|
| 1245 | + */ |
|
| 1237 | 1246 | function addScalar($val, $type='string') |
| 1238 | 1247 | { |
| 1239 | 1248 | $typeof = $this->xmlrpcTypes[$type]; |
@@ -1291,6 +1300,9 @@ discard block |
||
| 1291 | 1300 | return 1; |
| 1292 | 1301 | } |
| 1293 | 1302 | |
| 1303 | + /** |
|
| 1304 | + * @param integer $vals |
|
| 1305 | + */ |
|
| 1294 | 1306 | function addStruct($vals) |
| 1295 | 1307 | { |
| 1296 | 1308 | if ($this->mytype != 0) |