@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * @param ProfileField $field {@link ProfileField} object to get edit form for |
26 | 26 | * @param mixed $action URL to submit to - or false for $_SERVER['REQUEST_URI'] |
27 | 27 | * |
28 | - * @return object |
|
28 | + * @return XoopsThemeForm |
|
29 | 29 | */ |
30 | 30 | function profile_getFieldForm(ProfileField $field, $action = false) |
31 | 31 | { |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | * @param int $step Which step we are at |
278 | 278 | * |
279 | 279 | * @internal param \profileRegstep $next_step |
280 | - * @return object |
|
280 | + * @return XoopsThemeForm |
|
281 | 281 | */ |
282 | 282 | function profile_getRegisterForm(XoopsUser $user, $profile, $step = null) |
283 | 283 | { |
@@ -383,10 +383,10 @@ discard block |
||
383 | 383 | * Get {@link XoopsThemeForm} for editing a user |
384 | 384 | * |
385 | 385 | * @param XoopsUser $user {@link XoopsUser} to edit |
386 | - * @param ProfileProfile|XoopsObject|null $profile |
|
386 | + * @param null|ProfileProfile $profile |
|
387 | 387 | * @param bool $action |
388 | 388 | * |
389 | - * @return object |
|
389 | + * @return XoopsThemeForm |
|
390 | 390 | */ |
391 | 391 | function profile_getUserForm(XoopsUser $user, ProfileProfile $profile = null, $action = false) |
392 | 392 | { |
@@ -521,7 +521,7 @@ discard block |
||
521 | 521 | * @param ProfileRegstep|null $step {@link ProfileRegstep} to edit |
522 | 522 | * @param bool $action |
523 | 523 | * |
524 | - * @return object |
|
524 | + * @return XoopsThemeForm |
|
525 | 525 | */ |
526 | 526 | function profile_getStepForm(ProfileRegstep $step = null, $action = false) |
527 | 527 | { |
@@ -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 | { |