Completed
Push — try/fix-e2e-flakiness ( 060bfc...682d17 )
by Yaroslav
09:42
created
projects/plugins/jetpack/modules/stats.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
  * Get Stats Options.
291 291
  *
292 292
  * @access public
293
- * @param mixed $option Option.
293
+ * @param string $option Option.
294 294
  * @return mixed|null.
295 295
  */
296 296
 function stats_get_option( $option ) {
@@ -744,7 +744,7 @@  discard block
 block discarded – undo
744 744
  * Stats Convert Chart URLs.
745 745
  *
746 746
  * @access public
747
- * @param mixed $html HTML.
747
+ * @param string $html HTML.
748 748
  * @return string
749 749
  */
750 750
 function stats_convert_chart_urls( $html ) {
@@ -1414,7 +1414,7 @@  discard block
 block discarded – undo
1414 1414
  *
1415 1415
  * @access public
1416 1416
  * @param mixed $get Get.
1417
- * @param mixed $url URL.
1417
+ * @param string $url URL.
1418 1418
  * @return void
1419 1419
  */
1420 1420
 function stats_print_wp_remote_error( $get, $url ) {
@@ -1556,7 +1556,7 @@  discard block
 block discarded – undo
1556 1556
  * Stats get remote CSV.
1557 1557
  *
1558 1558
  * @access public
1559
- * @param mixed $url URL.
1559
+ * @param string $url URL.
1560 1560
  * @return array
1561 1561
  */
1562 1562
 function stats_get_remote_csv( $url ) {
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/subscriptions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -514,7 +514,7 @@
 block discarded – undo
514 514
 	 * Send a synchronous XML-RPC subscribe to blog posts or subscribe to post comments request.
515 515
 	 *
516 516
 	 * @param string $email
517
-	 * @param array  $post_ids (optional) defaults to 0 for blog posts only: array of post IDs to subscribe to blog's posts
517
+	 * @param integer  $post_ids (optional) defaults to 0 for blog posts only: array of post IDs to subscribe to blog's posts
518 518
 	 * @param bool   $async    (optional) Should the subscription be performed asynchronously?  Defaults to true.
519 519
 	 *
520 520
 	 * @return true|WP_Error true on success
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/subscriptions/views.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -557,7 +557,7 @@
 block discarded – undo
557 557
 	/**
558 558
 	 * The default args for rendering a subscription form.
559 559
 	 *
560
-	 * @return array
560
+	 * @return string
561 561
 	 */
562 562
 	static function defaults() {
563 563
 		$defaults = array(
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/theme-tools.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
  * @access private
56 56
  * @param string $key
57 57
  * @param array $files
58
- * @return void
58
+ * @return WP_Error|null
59 59
  */
60 60
 function _jetpack_require_compat_file( $key, $files ) {
61 61
 	if ( ! is_string( $key ) ) {
Please login to merge, or discard this patch.
plugins/jetpack/modules/theme-tools/content-options/blog-display.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -138,6 +138,7 @@
 block discarded – undo
138 138
 /**
139 139
  * Returns a class value, `output-the-content` by default.
140 140
  * Used for themes with a 'Mixed' Blog Display so we can tell which output is by default.
141
+ * @param string $new_class
141 142
  */
142 143
 function jetpack_the_content_customizer_class( $new_class = null ) {
143 144
 	static $class;
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/theme-tools/featured-content.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -699,7 +699,7 @@
 block discarded – undo
699 699
 	 * handlers should be copied when the theme context is loaded by the REST API.
700 700
 	 *
701 701
 	 * @param array $copy_dirs Copy paths with actions to be copied
702
-	 * @return array Copy paths with featured content plugin
702
+	 * @return string[] Copy paths with featured content plugin
703 703
 	 */
704 704
 	function wpcom_rest_api_featured_content_copy_plugin_actions( $copy_dirs ) {
705 705
 		$copy_dirs[] = __FILE__;
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/theme-tools/infinite-scroll.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,6 @@
 block discarded – undo
40 40
 /**
41 41
  * Prevent IS from being activated if theme doesn't support it
42 42
  *
43
- * @param bool $can_activate
44 43
  * @filter jetpack_can_activate_infinite-scroll
45 44
  * @return bool
46 45
  */
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/theme-tools/responsive-videos.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@
 block discarded – undo
29 29
 /**
30 30
  * Adds a wrapper to videos and enqueue script
31 31
  *
32
+ * @param string $html
32 33
  * @return string
33 34
  */
34 35
 function jetpack_responsive_videos_embed_html( $html ) {
Please login to merge, or discard this patch.
plugins/jetpack/modules/theme-tools/site-logo/inc/class-site-logo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -258,7 +258,7 @@
 block discarded – undo
258 258
 	/**
259 259
 	 * Reset the site logo if the current logo is deleted in the media manager.
260 260
 	 *
261
-	 * @param int $site_id
261
+	 * @param int $post_id
262 262
 	 * @uses Site_Logo::remove_site_logo()
263 263
 	 */
264 264
 	public function reset_on_attachment_delete( $post_id ) {
Please login to merge, or discard this patch.