Completed
Pull Request — master (#299)
by Richard
07:37
created
modules/protector/filters_disabled/postcommon_post_language_match.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
modules/protector/filters_disabled/postcommon_post_stopforumspam.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
modules/protector/filters_disabled/postcommon_register_stopforumspam.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
htdocs/class/captcha/xoopscaptcha.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
     /**
69 69
      * XoopsCaptcha::loadConfig()
70 70
      *
71
-     * @param mixed $filename
71
+     * @param string $filename
72 72
      *
73 73
      * @return array
74 74
      */
Please login to merge, or discard this patch.
htdocs/class/captcha/recaptcha/recaptchalib.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -211,6 +211,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
class/libraries/vendor/ircmaxell/random-lib/lib/RandomLib/AbstractMixer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -133,6 +133,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
htdocs/class/xoopsform/form.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
     /**
197 197
      * @param        $value
198 198
      * @param        $key
199
-     * @param        $ret
199
+     * @param        string $ret
200 200
      * @param string $hashinfo
201 201
      *
202 202
      * @return string
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
      * get a reference to a {@link XoopsFormElement} object by its "name"
369 369
      *
370 370
      * @param  string $name "name" attribute assigned to a {@link XoopsFormElement}
371
-     * @return object reference to a {@link XoopsFormElement}, false if not found
371
+     * @return XoopsFormElement|null reference to a {@link XoopsFormElement}, false if not found
372 372
      */
373 373
     public function &getElementByName($name)
374 374
     {
Please login to merge, or discard this patch.