Completed
Push — dna-sync-settings ( 166479 )
by
unknown
292:01 queued 283:13
created
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 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 ( Settings::is_sending() ) {
Please login to merge, or discard this patch.
packages/sync/src/Settings.php 1 patch
Doc Comments   +6 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 boolean|null $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
 	}
Please login to merge, or discard this patch.