@@ -9,7 +9,7 @@ |
||
9 | 9 | public $method; |
10 | 10 | |
11 | 11 | /** |
12 | - * @return bool |
|
12 | + * @return null|boolean |
|
13 | 13 | */ |
14 | 14 | public function execute() |
15 | 15 | { |
@@ -80,7 +80,7 @@ |
||
80 | 80 | /** |
81 | 81 | * Check imptotal |
82 | 82 | * |
83 | - * @return bool |
|
83 | + * @return boolean|null |
|
84 | 84 | */ |
85 | 85 | public function check_imptotal() |
86 | 86 | { |
@@ -80,7 +80,7 @@ |
||
80 | 80 | /** |
81 | 81 | * Check imptotal |
82 | 82 | * |
83 | - * @return bool |
|
83 | + * @return boolean|null |
|
84 | 84 | */ |
85 | 85 | public function check_imptotal() |
86 | 86 | { |
@@ -80,7 +80,7 @@ |
||
80 | 80 | /** |
81 | 81 | * Check imptotal |
82 | 82 | * |
83 | - * @return bool |
|
83 | + * @return boolean|null |
|
84 | 84 | */ |
85 | 85 | public function check_imptotal() |
86 | 86 | { |
@@ -68,7 +68,7 @@ |
||
68 | 68 | /** |
69 | 69 | * XoopsCaptcha::loadConfig() |
70 | 70 | * |
71 | - * @param mixed $filename |
|
71 | + * @param string $filename |
|
72 | 72 | * |
73 | 73 | * @return array |
74 | 74 | */ |
@@ -211,6 +211,9 @@ discard block |
||
211 | 211 | |
212 | 212 | /* Mailhide related code */ |
213 | 213 | |
214 | +/** |
|
215 | + * @param string $ky |
|
216 | + */ |
|
214 | 217 | function _recaptcha_aes_encrypt($val,$ky) { |
215 | 218 | if (! function_exists ("mcrypt_encrypt")) { |
216 | 219 | die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed."); |
@@ -222,6 +225,9 @@ discard block |
||
222 | 225 | } |
223 | 226 | |
224 | 227 | |
228 | +/** |
|
229 | + * @param null|string $x |
|
230 | + */ |
|
225 | 231 | function _recaptcha_mailhide_urlbase64 ($x) { |
226 | 232 | return strtr(base64_encode ($x), '+/', '-_'); |
227 | 233 | } |
@@ -133,6 +133,9 @@ |
||
133 | 133 | return $parts; |
134 | 134 | } |
135 | 135 | |
136 | + /** |
|
137 | + * @param string $character |
|
138 | + */ |
|
136 | 139 | private function str_pad($string, $size, $character) |
137 | 140 | { |
138 | 141 | $start = Util::safeStrlen($string); |
@@ -87,9 +87,8 @@ |
||
87 | 87 | /** |
88 | 88 | * set the renderer |
89 | 89 | * |
90 | - * @param XoopsFormRendererInterface $renderer instance of renderer |
|
91 | 90 | * |
92 | - * @return void |
|
91 | + * @return XoopsFormRendererInterface |
|
93 | 92 | */ |
94 | 93 | public function get() |
95 | 94 | { |