Test Failed
Push — master ( 7a266a...e0908c )
by Stiofan
55:02
created
geodirectory-functions/compatibility/Avada.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@
 block discarded – undo
179 179
  * @since 1.0.0
180 180
  * @package GeoDirectory
181 181
  * @param array $classes Class array.
182
- * @return array Modified class array.
182
+ * @return string[] Modified class array.
183 183
  */
184 184
 function gd_compat_body_class($classes)
185 185
 {
Please login to merge, or discard this patch.
geodirectory-functions/compatibility/Enfold.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
  * @since 1.0.0
134 134
  * @package GeoDirectory
135 135
  * @param array $classes Class array.
136
- * @return array Modified class array.
136
+ * @return string[] Modified class array.
137 137
  */
138 138
 function wpgeo_enfold_body_class($classes)
139 139
 {
Please login to merge, or discard this patch.
geodirectory-functions/compatibility/X.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
  * @since 1.0.0
114 114
  * @package GeoDirectory
115 115
  * @param array $classes Class array.
116
- * @return array Modified class array.
116
+ * @return string[] Modified class array.
117 117
  */
118 118
 function geodir_x_body_class($classes)
119 119
 {
Please login to merge, or discard this patch.
geodirectory-functions/custom_taxonomy_hooks_actions.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
  * @global wpdb $wpdb WordPress database abstraction object.
326 326
  * @deprecated 1.5.0 No longer required.
327 327
  * @param string $rules mod_rewrite Rewrite rules formatted for .htaccess.
328
- * @return array Rewrite rules.
328
+ * @return string Rewrite rules.
329 329
  */
330 330
 function geodir_htaccess_contents($rules)
331 331
 {
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
  * @since 1.0.0
351 351
  *
352 352
  * @param array $public_query_vars The array of query variables.
353
- * @return array Query variables.
353
+ * @return string[] Query variables.
354 354
  */
355 355
 function geodir_add_location_var($public_query_vars)
356 356
 {
@@ -366,7 +366,7 @@  discard block
 block discarded – undo
366 366
  * @since 1.0.0
367 367
  *
368 368
  * @param array $public_query_vars The array of query variables.
369
- * @return array Query variables.
369
+ * @return string[] Query variables.
370 370
  */
371 371
 function geodir_add_geodir_page_var($public_query_vars)
372 372
 {
@@ -793,7 +793,6 @@  discard block
 block discarded – undo
793 793
  *
794 794
  * @since 1.0.0
795 795
  *
796
- * @param object $wp The WordPress object.
797 796
  */
798 797
 function geodir_custom_post_status()
799 798
 {
Please login to merge, or discard this patch.
geodirectory-functions/geodir-class-session.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -151,8 +151,7 @@  discard block
 block discarded – undo
151 151
 	 * @since 1.5.7
152 152
 	 *
153 153
 	 * @param string|array $key Session key.
154
-	 * @param integer $value Session variable.
155
-	 * @return string Session variable.
154
+	 * @return boolean Session variable.
156 155
 	 */
157 156
 	public function un_set( $key ) {
158 157
 		if ( empty( $key ) ) {
@@ -188,8 +187,7 @@  discard block
 block discarded – undo
188 187
 	 * @since 1.5.7
189 188
 	 *
190 189
 	 * @param string $key Session key.
191
-	 * @param integer $value Session variable.
192
-	 * @return string Session variable.
190
+	 * @return boolean Session variable.
193 191
 	 */
194 192
 	public function is_set( $key ) {
195 193
 		$key = sanitize_key( $key );
Please login to merge, or discard this patch.
geodirectory-functions/shortcode_functions.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,6 @@  discard block
 block discarded – undo
46 46
  * @since 1.0.0
47 47
  * @since 1.5.2 Added TERRAIN map type.
48 48
  *
49
- * @param string $value Input value to validate measurement.
50 49
  * @return string The measurement valud in valid format.
51 50
  */
52 51
 function gdsc_validate_map_args($params)
@@ -95,7 +94,7 @@  discard block
 block discarded – undo
95 94
  * @param mixed $in The variable to check
96 95
  * @param bool $strict If set to false, consider everything that is not false to be true.
97 96
  *
98
- * @return bool The boolean equivalent or null
97
+ * @return null|boolean The boolean equivalent or null
99 98
  */
100 99
 function gdsc_to_bool_val($in, $strict = false)
101 100
 {
Please login to merge, or discard this patch.
geodirectory-functions/signup_function.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
  * @package GeoDirectory
14 14
  * @global object $current_user Current user object.
15 15
  * @param bool $redirect Optional. Do you want to redirect to signup page, if user not logged in? Default: false.
16
- * @return bool
16
+ * @return null|boolean
17 17
  */
18 18
 function geodir_is_login($redirect = false)
19 19
 {
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
  *
70 70
  * @since 1.0.0
71 71
  * @package GeoDirectory
72
- * @return string|mixed|void The email ID.
72
+ * @return string The email ID.
73 73
  */
74 74
 function geodir_get_site_email_id()
75 75
 {
Please login to merge, or discard this patch.
geodirectory-functions/wp-session/class-recursive-arrayaccess.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,6 @@
 block discarded – undo
107 107
 	 * @link http://php.net/manual/en/arrayaccess.offsetset.php
108 108
 	 *
109 109
 	 * @param mixed $offset The offset to assign the value to.
110
-	 * @param mixed $value  The value to set.
111 110
 	 *
112 111
 	 * @return void
113 112
 	 */
Please login to merge, or discard this patch.
geodirectory-functions/wp-session/class-wp-session.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,6 @@
 block discarded – undo
51 51
 	/**
52 52
 	 * Retrieve the current session instance.
53 53
 	 *
54
-	 * @param bool $session_id Session ID from which to populate data.
55 54
 	 *
56 55
 	 * @return bool|WP_Session
57 56
 	 */
Please login to merge, or discard this patch.