Completed
Pull Request — master (#279)
by Richard
08:25
created
htdocs/modules/profile/include/forms.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
modules/protector/filters_disabled/postcommon_register_insert_js_check.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
     public $method;
10 10
 
11 11
     /**
12
-     * @return bool
12
+     * @return null|boolean
13 13
      */
14 14
     public function execute()
15 15
     {
Please login to merge, or discard this patch.
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/renderer/XoopsFormRenderer.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,9 +87,8 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.