Completed
Push — update/calypsoify-remove-redir... ( 157318 )
by Marin
35:00 queued 23:11
created
modules/widgets/blog-stats.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 	 *
47 47
 	 * These values are used in new widgets.
48 48
 	 *
49
-	 * @return array Array of default values for the Widget's options
49
+	 * @return string Array of default values for the Widget's options
50 50
 	 */
51 51
 	public function defaults() {
52 52
 		return array(
Please login to merge, or discard this patch.
modules/widgets/eu-cookie-law.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
 		 *
117 117
 		 * These values are used in new widgets.
118 118
 		 *
119
-		 * @return array Default values for the widget options.
119
+		 * @return string Default values for the widget options.
120 120
 		 */
121 121
 		public function defaults() {
122 122
 			return array(
Please login to merge, or discard this patch.
modules/widgets/facebook-likebox.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -231,6 +231,9 @@  discard block
 block discarded – undo
231 231
 		<?php
232 232
 	}
233 233
 
234
+	/**
235
+	 * @return string
236
+	 */
234 237
 	function get_default_args() {
235 238
 		$defaults = array(
236 239
 			'href'         => '',
@@ -292,6 +295,9 @@  discard block
 block discarded – undo
292 295
 		return ( false !== strpos( $url, 'facebook.com' ) ) ? true : false;
293 296
 	}
294 297
 
298
+	/**
299
+	 * @param integer $value
300
+	 */
295 301
 	function normalize_int_value( $value, $default = 0, $max = 0, $min = 0 ) {
296 302
 		$value = (int) $value;
297 303
 
Please login to merge, or discard this patch.
modules/widgets/gallery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -387,7 +387,7 @@
 block discarded – undo
387 387
 	 * These values are used in new widgets as well as when sanitizing input. If a given value is not allowed,
388 388
 	 * as defined in allowed_values(), that input is set to the default value defined here.
389 389
 	 *
390
-	 * @return array Array of default values for the Widget's options
390
+	 * @return string Array of default values for the Widget's options
391 391
 	 */
392 392
 	public function defaults() {
393 393
 		return array(
Please login to merge, or discard this patch.
modules/widgets/flickr.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
 		 *
117 117
 		 * These values are used in new widgets.
118 118
 		 *
119
-		 * @return array Default values for the widget options.
119
+		 * @return string Default values for the widget options.
120 120
 		 */
121 121
 		public function defaults() {
122 122
 			return array(
Please login to merge, or discard this patch.
_inc/lib/class.core-rest-api-endpoints.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -1264,7 +1264,6 @@
 block discarded – undo
1264 1264
 	 *
1265 1265
 	 * @since 4.3.0
1266 1266
 	 *
1267
-	 * @param WP_REST_Request $request The request sent to the WP REST API.
1268 1267
 	 *
1269 1268
 	 * @return object
1270 1269
 	 */
Please login to merge, or discard this patch.
modules/shortcodes/getty.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
  *
87 87
  * @param string $content Post content.
88 88
  *
89
- * @return mixed
89
+ * @return string
90 90
  */
91 91
 function wpcom_shortcodereverse_getty( $content ) {
92 92
 	if ( ! is_string( $content ) || false === stripos( $content, '.gettyimages.com/' ) ) {
Please login to merge, or discard this patch.
3rd-party/class-jetpack-bbpress-rest-api.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 	 *
46 46
 	 * @param array $allowed_post_types Allowed post types.
47 47
 	 *
48
-	 * @return array
48
+	 * @return string[]
49 49
 	 */
50 50
 	public function allow_bbpress_post_types( $allowed_post_types ) {
51 51
 		$allowed_post_types[] = 'forum';
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 	 *
60 60
 	 * @param array $allowed_meta_keys Allowed meta keys.
61 61
 	 *
62
-	 * @return array
62
+	 * @return string[]
63 63
 	 */
64 64
 	public function allow_bbpress_public_metadata( $allowed_meta_keys ) {
65 65
 		$allowed_meta_keys[] = '_bbp_forum_id';
Please login to merge, or discard this patch.
_inc/lib/class.jetpack-password-checker.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -410,7 +410,7 @@
 block discarded – undo
410 410
 	 *
411 411
 	 * @param Mixed $needle the needle.
412 412
 	 * @param array $haystack the haystack.
413
-	 * @return is the needle not in the haystack?
413
+	 * @return boolean the needle not in the haystack?
414 414
 	 */
415 415
 	protected function negative_in_array( $needle, $haystack ) {
416 416
 		if ( in_array( $needle, $haystack, true ) ) {
Please login to merge, or discard this patch.