Completed
Push — update/carousel-add-metadata ( a70bb3...e4007a )
by Jeremy
15:52 queued 08:49
created
_inc/lib/debugger/class-jetpack-cxn-tests.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 	/**
53 53
 	 * Helper function to look up the expected master user and return the local WP_User.
54 54
 	 *
55
-	 * @return WP_User Jetpack's expected master user.
55
+	 * @return string Jetpack's expected master user.
56 56
 	 */
57 57
 	protected function helper_retrieve_local_master_user() {
58 58
 		$master_user = Jetpack_Options::get_option( 'master_user' );
Please login to merge, or discard this patch.
modules/publicize/publicize-jetpack.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -682,6 +682,9 @@
 block discarded – undo
682 682
 		$this->options_save_other( 'linkedin' );
683 683
 	}
684 684
 
685
+	/**
686
+	 * @param string $service_name
687
+	 */
685 688
 	function options_save_other( $service_name ) {
686 689
 		// Nonce check
687 690
 		check_admin_referer( 'save_' . $service_name . '_token_' . $_REQUEST['connection'] );
Please login to merge, or discard this patch.
json-endpoints/jetpack/class.jetpack-json-api-plugins-modify-endpoint.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -244,6 +244,9 @@
 block discarded – undo
244 244
 		}
245 245
 	}
246 246
 
247
+	/**
248
+	 * @param string $capability
249
+	 */
247 250
 	protected function current_user_can( $capability, $plugin = null ) {
248 251
 		if ( $plugin ) {
249 252
 			return current_user_can( $capability, $plugin );
Please login to merge, or discard this patch.
modules/plugin-search.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -543,6 +543,7 @@
 block discarded – undo
543 543
  * @internal
544 544
  *
545 545
  * @param bool &$error Did the remote request result in an error?
546
+ * @param boolean $error
546 547
  * @return bool True if PSH is active.
547 548
  */
548 549
 function jetpack_get_remote_is_psh_active( &$error ) {
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.
modules/shortcodes/class.filter-embedded-html-objects.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -221,7 +221,7 @@
 block discarded – undo
221 221
 	/**
222 222
 	 * Filter and replace HTML element.
223 223
 	 *
224
-	 * @param array $matches Array of matches.
224
+	 * @param string[] $matches Array of matches.
225 225
 	 */
226 226
 	private static function dispatch( $matches ) {
227 227
 		$html  = preg_replace( '%&#0*58;//%', '://', $matches[0] );
Please login to merge, or discard this patch.
_inc/lib/class.media-summary.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -271,6 +271,9 @@  discard block
 block discarded – undo
271 271
 		}
272 272
 	}
273 273
 
274
+	/**
275
+	 * @param string $type
276
+	 */
274 277
 	static function get_video_poster( $type, $id ) {
275 278
 		if ( 'videopress' == $type ) {
276 279
 			if ( function_exists( 'video_get_highest_resolution_image_url' ) ) {
@@ -356,6 +359,9 @@  discard block
 block discarded – undo
356 359
 		return (int) count( self::split_content_in_words( self::clean_text( $post_content ) ) );
357 360
 	}
358 361
 
362
+	/**
363
+	 * @param string $excerpt_content
364
+	 */
359 365
 	static function get_word_remaining_count( $post_content, $excerpt_content ) {
360 366
 		$content_word_count = count( self::split_content_in_words( self::clean_text( $post_content ) ) );
361 367
 		$excerpt_word_count = count( self::split_content_in_words( self::clean_text( $excerpt_content ) ) ); 
Please login to merge, or discard this patch.
_inc/lib/debugger/class-jetpack-cxn-test-base.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
 	 * @param string $type  Test type, async or direct. Optional, direct all tests.
200 200
 	 * @param string $group Testing group to check status of. Optional, default all tests.
201 201
 	 *
202
-	 * @return true|array True if all tests pass. Array of failed tests.
202
+	 * @return boolean True if all tests pass. Array of failed tests.
203 203
 	 */
204 204
 	public function pass( $type = 'all', $group = 'all' ) {
205 205
 		$results = $this->raw_results( $type, $group );
Please login to merge, or discard this patch.
modules/shortcodes/soundcloud.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
 /**
143 143
  * Plugin options getter
144 144
  *
145
- * @param  string|array $option  Option name.
145
+ * @param  string $option  Option name.
146 146
  * @param  mixed        $default Default value.
147 147
  *
148 148
  * @return mixed                   Option value
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
  *
159 159
  * @param string $url Soundcloud URL.
160 160
  *
161
- * @return boolean
161
+ * @return integer
162 162
  */
163 163
 function soundcloud_url_has_tracklist( $url ) {
164 164
 	return preg_match( '/^(.+?)\/(sets|groups|playlists)\/(.+?)$/', $url );
Please login to merge, or discard this patch.