Completed
Push — dna-sync-defaults ( 8f5f85...5cb92e )
by
unknown
107:59 queued 99:36
created
packages/sync/legacy/class.jetpack-sync-settings.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -166,6 +166,9 @@  discard block
 block discarded – undo
166 166
 		self::set_is_sending( null );
167 167
 	}
168 168
 
169
+	/**
170
+	 * @param null|boolean $is_importing
171
+	 */
169 172
 	static function set_importing( $is_importing ) {
170 173
 		// set to NULL to revert to WP_IMPORTING, the standard behavior
171 174
 		self::$is_importing = $is_importing;
@@ -200,6 +203,9 @@  discard block
 block discarded – undo
200 203
 		return (bool) self::$is_syncing || ( defined( 'REST_API_REQUEST' ) && REST_API_REQUEST );
201 204
 	}
202 205
 
206
+	/**
207
+	 * @param boolean|null $is_syncing
208
+	 */
203 209
 	static function set_is_syncing( $is_syncing ) {
204 210
 		self::$is_syncing = $is_syncing;
205 211
 	}
@@ -208,6 +214,9 @@  discard block
 block discarded – undo
208 214
 		return (bool) self::$is_sending;
209 215
 	}
210 216
 
217
+	/**
218
+	 * @param null|boolean $is_sending
219
+	 */
211 220
 	static function set_is_sending( $is_sending ) {
212 221
 		self::$is_sending = $is_sending;
213 222
 	}
Please login to merge, or discard this patch.