@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | * Build the log message. |
76 | 76 | * |
77 | 77 | * @access protected |
78 | - * @return object this |
|
78 | + * @return Logger this |
|
79 | 79 | */ |
80 | 80 | protected function setLogMsg() |
81 | 81 | { |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | * Write a log file with the hacher information. |
101 | 101 | * |
102 | 102 | * @access protected |
103 | - * @return object this |
|
103 | + * @return Logger this |
|
104 | 104 | */ |
105 | 105 | protected function writeFile() |
106 | 106 | { |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | * Blocking IP address. |
115 | 115 | * |
116 | 116 | * @access protected |
117 | - * @return object this |
|
117 | + * @return Logger this |
|
118 | 118 | */ |
119 | 119 | protected function blockIp() |
120 | 120 | { |
@@ -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 | } |