Completed
Push — add/memberships ( 34c107...283627 )
by
unknown
89:14 queued 69:19
created
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.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 str_word_count( 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
 		/**
361 367
 		 * es_api_word_count is useful to count words in all languages.
Please login to merge, or discard this patch.
class.jetpack-gutenberg.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -424,7 +424,7 @@
 block discarded – undo
424 424
 	 * Only enqueue block assets when needed.
425 425
 	 *
426 426
 	 * @param string $type Slug of the block.
427
-	 * @param array  $script_dependencies An array of view-side Javascript dependencies to be enqueued.
427
+	 * @param string[]  $script_dependencies An array of view-side Javascript dependencies to be enqueued.
428 428
 	 *
429 429
 	 * @return void
430 430
 	 */
Please login to merge, or discard this patch.
modules/memberships/class-jetpack-memberships.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
 	 * @param array $post_types - other post types.
162 162
 	 *
163 163
 	 * @see hook 'rest_api_allowed_post_types'
164
-	 * @return array
164
+	 * @return string[]
165 165
 	 */
166 166
 	public function allow_rest_api_types( $post_types ) {
167 167
 		$post_types[] = self::$post_type_plan;
@@ -191,7 +191,6 @@  discard block
 block discarded – undo
191 191
 	 * Callback that parses the membership purchase shortcode.
192 192
 	 *
193 193
 	 * @param array       $attrs - attributes in the shortcode. `id` here is the CPT id of the plan.
194
-	 * @param string|bool $content - needed for the callback.
195 194
 	 *
196 195
 	 * @return string|void
197 196
 	 */
Please login to merge, or discard this patch.