Completed
Push — master ( 5ee518...21d059 )
by Michael
23s
created
class/hotelcity.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     /**
82 82
      * create a new hotel city
83 83
      * @param bool $isNew flag the new objects as "new"?
84
-     * @return object HotelCity
84
+     * @return MartinHotelcity HotelCity
85 85
      */
86 86
     public function &create($isNew = true)
87 87
     {
Please login to merge, or discard this patch.
class/hotelpromotion.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
     /**
98 98
      * create a new hotel city
99 99
      * @param bool $isNew flag the new objects as "new"?
100
-     * @return object promotion
100
+     * @return MartinHotelPromotion promotion
101 101
      */
102 102
     public function &create($isNew = true)
103 103
     {
Please login to merge, or discard this patch.
class/hotelservice.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
     /**
91 91
      * create a new hotel city
92 92
      * @param bool $isNew flag the new objects as "new"?
93
-     * @return object hotelservice
93
+     * @return MartinHotelService hotelservice
94 94
      */
95 95
     public function &create($isNew = true)
96 96
     {
Please login to merge, or discard this patch.
class/hotelservicetype.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     /**
53 53
      * create a new hotel city
54 54
      * @param bool $isNew flag the new objects as "new"?
55
-     * @return object hotelservicetype
55
+     * @return MartinHotelServiceType hotelservicetype
56 56
      */
57 57
     public function &create($isNew = true)
58 58
     {
Please login to merge, or discard this patch.
class/order.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
     /**
247 247
      * create a new hotel order
248 248
      * @param bool $isNew flag the new objects as "new"?
249
-     * @return object order
249
+     * @return MartinOrder order
250 250
      */
251 251
     public function &create($isNew = true)
252 252
     {
@@ -575,7 +575,7 @@  discard block
 block discarded – undo
575 575
      * @created   :2010年06月07日 20时25分
576 576
      * @copyright 1997-2010 The Martin Group
577 577
      * @author    Martin <[email protected]>
578
-     * @param $order_id
578
+     * @param integer $order_id
579 579
      * @return array
580 580
      */
581 581
     public function GetOrderRooms($order_id)
@@ -612,7 +612,7 @@  discard block
 block discarded – undo
612 612
      * @created   :2010年06月07日 20时25分
613 613
      * @copyright 1997-2010 The Martin Group
614 614
      * @author    Martin <[email protected]>
615
-     * @param $order_id
615
+     * @param integer $order_id
616 616
      * @return array
617 617
      */
618 618
     public function GetOrderQueryRooms($order_id)
Please login to merge, or discard this patch.
class/room.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
     /**
184 184
      * create a new hotel city
185 185
      * @param bool $isNew flag the new objects as "new"?
186
-     * @return object room
186
+     * @return MartinRoom room
187 187
      */
188 188
     public function &create($isNew = true)
189 189
     {
@@ -225,8 +225,8 @@  discard block
 block discarded – undo
225 225
      * @created   :2010年06月20日 13时09分
226 226
      * @copyright 1997-2010 The Martin Group
227 227
      * @author    Martin <[email protected]>
228
-     * @param      $sql
229
-     * @param null $key
228
+     * @param      string $sql
229
+     * @param string $key
230 230
      * @return array
231 231
      */
232 232
     public function GetRows($sql, $key = null)
Please login to merge, or discard this patch.
include/functions.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
 if (!function_exists('GetRanks')) {
218 218
     /**
219 219
      * @param $xoopsModuleConfig
220
-     * @return mixed
220
+     * @return string[]
221 221
      */
222 222
     function GetRanks(&$xoopsModuleConfig)
223 223
     {
@@ -278,8 +278,8 @@  discard block
 block discarded – undo
278 278
  * */
279 279
 if (!function_exists('getModuleArray')) {
280 280
     /**
281
-     * @param      $module_key
282
-     * @param null $keyName
281
+     * @param      string $module_key
282
+     * @param string $keyName
283 283
      * @param bool $is_get_arr
284 284
      * @param null $selected
285 285
      * @param null $ModuleConfig
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
  * */
368 368
 if (!function_exists('MouthLastDay')) {
369 369
     /**
370
-     * @param null $mouth
370
+     * @param string $mouth
371 371
      * @return array|bool|int|string
372 372
      */
373 373
     function MouthLastDay($mouth = null)
Please login to merge, or discard this patch.
pay/alipay/alipay_notify.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@  discard block
 block discarded – undo
70 70
 		}else return false;
71 71
 	}
72 72
 
73
+	/**
74
+	 * @param string $url
75
+	 */
73 76
 	function get_verify($url,$time_out = "60") {
74 77
 		$urlarr = parse_url($url);
75 78
 		$errno = "";
@@ -117,6 +120,9 @@  discard block
 block discarded – undo
117 120
 
118 121
 	}
119 122
 
123
+	/**
124
+	 * @param string $prestr
125
+	 */
120 126
 	function sign($prestr) {
121 127
 		$sign='';
122 128
 		if($this->sign_type == 'MD5') {
@@ -155,6 +161,11 @@  discard block
 block discarded – undo
155 161
 	}
156 162
 
157 163
 	//实现多种字符解码方式
164
+
165
+	/**
166
+	 * @param string $input
167
+	 * @param string $_input_charset
168
+	 */
158 169
 	function charset_decode($input,$_input_charset ,$_output_charset="utf-8"  ) {
159 170
 		$output = "";
160 171
 		if(!isset($_input_charset) )$_input_charset  = $this->_input_charset ;
Please login to merge, or discard this patch.
pay/alipay/alipay_service.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@  discard block
 block discarded – undo
71 71
 
72 72
 	}
73 73
 
74
+	/**
75
+	 * @param string $prestr
76
+	 */
74 77
 	function sign($prestr) {
75 78
 		$mysign = "";
76 79
 		if($this->sign_type == 'MD5') {
@@ -94,6 +97,10 @@  discard block
 block discarded – undo
94 97
 		return $para;
95 98
 	}
96 99
 	//实现多种字符编码方式
100
+
101
+	/**
102
+	 * @return string
103
+	 */
97 104
 	function charset_encode($input,$_output_charset ,$_input_charset ="utf-8" ) {
98 105
 		$output = "";
99 106
 		if(!isset($_output_charset) )$_output_charset  = $this->parameter['_input_charset '];
Please login to merge, or discard this patch.