Completed
Push — add/feature-rollout ( 16c199...2484fa )
by
unknown
10:53
created
sync/class.jetpack-sync-module-full-sync.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -170,6 +170,9 @@
 block discarded – undo
170 170
 		$listener->get_full_sync_queue()->reset();
171 171
 	}
172 172
 
173
+	/**
174
+	 * @param integer $default
175
+	 */
173 176
 	private function get_status_option( $option, $default = null ) {
174 177
 		$prefix = self::STATUS_OPTION_PREFIX;
175 178
 
Please login to merge, or discard this patch.
modules/wordads/wordads.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@
 block discarded – undo
256 256
 
257 257
 	/**
258 258
 	 * Check the reasons to bail before we attempt to insert ads.
259
-	 * @return true if we should bail (don't insert ads)
259
+	 * @return boolean if we should bail (don't insert ads)
260 260
 	 *
261 261
 	 * @since 0.1
262 262
 	 */
Please login to merge, or discard this patch.
class.jetpack-options.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 	 *
17 17
 	 * @param string $type The type of option to return. Defaults to 'compact'.
18 18
 	 *
19
-	 * @return array
19
+	 * @return string[]
20 20
 	 */
21 21
 	public static function get_option_names( $type = 'compact' ) {
22 22
 		switch ( $type ) {
@@ -163,6 +163,9 @@  discard block
 block discarded – undo
163 163
 		return $value;
164 164
 	}
165 165
 
166
+	/**
167
+	 * @param string $name
168
+	 */
166 169
 	private static function update_grouped_option( $group, $name, $value ) {
167 170
 		$options = get_option( self::$grouped_options[ $group ] );
168 171
 		if ( ! is_array( $options ) ) {
@@ -257,6 +260,9 @@  discard block
 block discarded – undo
257 260
 		return $result;
258 261
 	}
259 262
 
263
+	/**
264
+	 * @param string $name
265
+	 */
260 266
 	private static function get_grouped_option( $group, $name, $default ) {
261 267
 		$options = get_option( self::$grouped_options[ $group ] );
262 268
 		if ( is_array( $options ) && isset( $options[ $name ] ) ) {
Please login to merge, or discard this patch.
modules/shortcodes/archiveorg.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
  *
99 99
  * @param string $content
100 100
  *
101
- * @return mixed
101
+ * @return string
102 102
  */
103 103
 function jetpack_archiveorg_embed_to_shortcode( $content ) {
104 104
 	if ( false === stripos( $content, 'archive.org/embed/' ) )
Please login to merge, or discard this patch.
modules/wordads/php/api.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
 	/**
47 47
 	 * Returns status of WordAds approval.
48
-	 * @return boolean true if site is WordAds approved
48
+	 * @return string true if site is WordAds approved
49 49
 	 *
50 50
 	 * @since 4.5.0
51 51
 	 */
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
 	/**
61 61
 	 * Returns status of WordAds active.
62
-	 * @return boolean true if ads are active on site
62
+	 * @return string true if ads are active on site
63 63
 	 *
64 64
 	 * @since 4.5.0
65 65
 	 */
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 
74 74
 	/**
75 75
 	 * Returns status of WordAds house ads.
76
-	 * @return boolean true if WP.com house ads should be shown
76
+	 * @return string true if WP.com house ads should be shown
77 77
 	 *
78 78
 	 * @since 4.5.0
79 79
 	 */
Please login to merge, or discard this patch.
modules/shortcodes/class.filter-embedded-html-objects.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -90,6 +90,9 @@  discard block
 block discarded – undo
90 90
 		return $html;
91 91
 	}
92 92
 
93
+	/**
94
+	 * @param string $regexp
95
+	 */
93 96
 	static public function regexp_entities( $regexp ) {
94 97
 		return preg_replace(
95 98
 			'/\[\^&([^\]]+)\]\*\+/',
@@ -128,6 +131,9 @@  discard block
 block discarded – undo
128 131
 		return self::dispatch( $matches );
129 132
 	}
130 133
 
134
+	/**
135
+	 * @param string[] $matches
136
+	 */
131 137
 	static function dispatch( $matches ) {
132 138
 		$html  = preg_replace( '%&#0*58;//%', '://', $matches[0] );
133 139
 		$attrs = self::get_attrs( $html );
Please login to merge, or discard this patch.
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.
modules/shortcodes/googleapps.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
  *
99 99
  * @param string $content
100 100
  *
101
- * @return mixed
101
+ * @return string
102 102
  */
103 103
 function jetpack_archiveorg_embed_to_shortcode( $content ) {
104 104
 	if ( false === stripos( $content, 'archive.org/embed/' ) )
Please login to merge, or discard this patch.
sync/class.jetpack-sync-actions.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -298,6 +298,9 @@  discard block
 block discarded – undo
298 298
 		return $sync_modules;
299 299
 	}
300 300
 
301
+	/**
302
+	 * @return string
303
+	 */
301 304
 	static function sanitize_filtered_sync_cron_schedule( $schedule ) {
302 305
 		$schedule = sanitize_key( $schedule );
303 306
 		$schedules = wp_get_schedules();
@@ -333,6 +336,9 @@  discard block
 block discarded – undo
333 336
 		) );
334 337
 	}
335 338
 
339
+	/**
340
+	 * @param string $hook
341
+	 */
336 342
 	static function maybe_schedule_sync_cron( $schedule, $hook ) {
337 343
 		if ( ! $hook ) {
338 344
 			return;
Please login to merge, or discard this patch.