Completed
Branch v3.0 (3d1631)
by Samir
15:14
created
web_interface/astpp/system/libraries/Table.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/Trackback.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -226,6 +226,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/Typography.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -251,6 +251,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/Upload.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -385,6 +385,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/User_agent.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/Xmlrpc.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -369,6 +369,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/Xmlrpcs.php 1 patch
Doc Comments   +6 added lines, -5 removed lines patch added patch discarded remove patch
@@ -270,6 +270,7 @@  discard block
 block discarded – undo
270 270
 	 *
271 271
 	 * @access	protected
272 272
 	 * @param	object
273
+	 * @param XML_RPC_Message $m
273 274
 	 * @return	mixed
274 275
 	 */
275 276
 	function _execute($m)
@@ -389,7 +390,7 @@  discard block
 block discarded – undo
389 390
 	 *
390 391
 	 * @access	public
391 392
 	 * @param	mixed
392
-	 * @return	object
393
+	 * @return	XML_RPC_Response
393 394
 	 */
394 395
 	function listMethods($m)
395 396
 	{
@@ -417,7 +418,7 @@  discard block
 block discarded – undo
417 418
 	 *
418 419
 	 * @access	public
419 420
 	 * @param	mixed
420
-	 * @return	object
421
+	 * @return	XML_RPC_Response
421 422
 	 */
422 423
 	function methodSignature($m)
423 424
 	{
@@ -462,7 +463,7 @@  discard block
 block discarded – undo
462 463
 	 *
463 464
 	 * @access	public
464 465
 	 * @param	mixed
465
-	 * @return	object
466
+	 * @return	XML_RPC_Response
466 467
 	 */
467 468
 	function methodHelp($m)
468 469
 	{
@@ -532,7 +533,7 @@  discard block
 block discarded – undo
532 533
 	 *
533 534
 	 * @access	public
534 535
 	 * @param	mixed
535
-	 * @return	object
536
+	 * @return	XML_RPC_Values
536 537
 	 */
537 538
 	function multicall_error($err)
538 539
 	{
@@ -552,7 +553,7 @@  discard block
 block discarded – undo
552 553
 	 *
553 554
 	 * @access	public
554 555
 	 * @param	mixed
555
-	 * @return	object
556
+	 * @return	XML_RPC_Values
556 557
 	 */
557 558
 	function do_multicall($call)
558 559
 	{
Please login to merge, or discard this patch.
web_interface/astpp/system/libraries/Zip.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,6 +103,7 @@  discard block
 block discarded – undo
103 103
 	 *
104 104
 	 * @access	private
105 105
 	 * @param	string	the directory name
106
+	 * @param integer $file_mdate
106 107
 	 * @return	void
107 108
 	 */
108 109
 	function _add_dir($dir, $file_mtime, $file_mdate)
@@ -156,6 +157,7 @@  discard block
 block discarded – undo
156 157
 	 * @access	public
157 158
 	 * @param	mixed
158 159
 	 * @param	string
160
+	 * @param string $data
159 161
 	 * @return	void
160 162
 	 */
161 163
 	function add_data($filepath, $data = NULL)
@@ -185,6 +187,7 @@  discard block
 block discarded – undo
185 187
 	 * @access	private
186 188
 	 * @param	string	the file name/path
187 189
 	 * @param	string	the data to be encoded
190
+	 * @param integer $file_mdate
188 191
 	 * @return	void
189 192
 	 */
190 193
 	function _add_data($filepath, $data, $file_mtime, $file_mdate)
@@ -323,7 +326,7 @@  discard block
 block discarded – undo
323 326
 	 * Get the Zip file
324 327
 	 *
325 328
 	 * @access	public
326
-	 * @return	binary string
329
+	 * @return	false|string string
327 330
 	 */
328 331
 	function get_zip()
329 332
 	{
@@ -378,7 +381,7 @@  discard block
 block discarded – undo
378 381
 	 * @access	public
379 382
 	 * @param	string	the file name
380 383
 	 * @param	string	the data to be encoded
381
-	 * @return	bool
384
+	 * @return	boolean|null
382 385
 	 */
383 386
 	function download($filename = 'backup.zip')
384 387
 	{
Please login to merge, or discard this patch.