Completed
Push — branch-7.9 ( ead256...32b182 )
by
unknown
45:33 queued 30:38
created
json-endpoints/jetpack/class.jetpack-json-api-sync-endpoint.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@  discard block
 block discarded – undo
43 43
 		return array( 'scheduled' => Actions::do_full_sync( $modules ) );
44 44
 	}
45 45
 
46
+	/**
47
+	 * @return string
48
+	 */
46 49
 	protected function validate_queue( $query ) {
47 50
 		if ( ! isset( $query ) ) {
48 51
 			return new WP_Error( 'invalid_queue', 'Queue name is required', 400 );
@@ -233,6 +236,9 @@  discard block
 block discarded – undo
233 236
 		);
234 237
 	}
235 238
 
239
+	/**
240
+	 * @param Queue $queue
241
+	 */
236 242
 	protected function get_buffer( $queue, $number_of_items ) {
237 243
 		$start = time();
238 244
 		$max_duration = 5; // this will try to get the buffer
Please login to merge, or discard this patch.
packages/sync/src/Queue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -374,7 +374,7 @@
 block discarded – undo
374 374
 	/**
375 375
 	 * Close the buffer.
376 376
 	 *
377
-	 * @param Automattic\Jetpack\Sync\Queue_Buffer $buffer Queue_Buffer object.
377
+	 * @param Queue_Buffer $buffer Queue_Buffer object.
378 378
 	 * @param null|array                           $ids_to_remove Ids to remove from the queue.
379 379
 	 *
380 380
 	 * @return bool|\WP_Error
Please login to merge, or discard this patch.