Completed
Push — dna-posts-module ( 63a0e8...041243 )
by
unknown
113:56 queued 102:33
created
packages/sync/legacy/class.jetpack-sync-settings.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -164,6 +164,9 @@  discard block
 block discarded – undo
164 164
 		self::set_is_sending( null );
165 165
 	}
166 166
 
167
+	/**
168
+	 * @param boolean|null $is_importing
169
+	 */
167 170
 	static function set_importing( $is_importing ) {
168 171
 		// set to NULL to revert to WP_IMPORTING, the standard behavior
169 172
 		self::$is_importing = $is_importing;
@@ -198,6 +201,9 @@  discard block
 block discarded – undo
198 201
 		return (bool) self::$is_syncing || ( defined( 'REST_API_REQUEST' ) && REST_API_REQUEST );
199 202
 	}
200 203
 
204
+	/**
205
+	 * @param boolean|null $is_syncing
206
+	 */
201 207
 	static function set_is_syncing( $is_syncing ) {
202 208
 		self::$is_syncing = $is_syncing;
203 209
 	}
@@ -206,6 +212,9 @@  discard block
 block discarded – undo
206 212
 		return (bool) self::$is_sending;
207 213
 	}
208 214
 
215
+	/**
216
+	 * @param null|boolean $is_sending
217
+	 */
209 218
 	static function set_is_sending( $is_sending ) {
210 219
 		self::$is_sending = $is_sending;
211 220
 	}
Please login to merge, or discard this patch.
packages/sync/src/Listener.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -177,6 +177,9 @@
 block discarded – undo
177 177
 		$queue->add_all( $data_to_enqueue );
178 178
 	}
179 179
 
180
+	/**
181
+	 * @param \Jetpack_Sync_Queue $queue
182
+	 */
180 183
 	function enqueue_action( $current_filter, $args, $queue ) {
181 184
 		// don't enqueue an action during the outbound http request - this prevents recursion
182 185
 		if ( \Jetpack_Sync_Settings::is_sending() ) {
Please login to merge, or discard this patch.