Completed
Push — add/sync-action ( 798b6b...3d72dc )
by
unknown
19:10 queued 09:41
created
sync/class.jetpack-sync-queue.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@  discard block
 block discarded – undo
32 32
 	private $checkout_size;
33 33
 	private $row_iterator;
34 34
 
35
+	/**
36
+	 * @param string $id
37
+	 */
35 38
 	function __construct( $id, $checkout_size = 10 ) {
36 39
 		$this->id            = str_replace( '-', '_', $id ); // necessary to ensure we don't have ID collisions in the SQL
37 40
 		$this->checkout_size = $checkout_size;
@@ -267,6 +270,9 @@  discard block
 block discarded – undo
267 270
 		return get_transient( $this->get_checkout_transient_name() );
268 271
 	}
269 272
 
273
+	/**
274
+	 * @param string $checkout_id
275
+	 */
270 276
 	private function set_checkout_id( $checkout_id ) {
271 277
 		return set_transient( $this->get_checkout_transient_name(), $checkout_id, 5*60 ); // 5 minute timeout
272 278
 	}
@@ -297,6 +303,10 @@  discard block
 block discarded – undo
297 303
 		return 'jpsq_' . $this->id . '-' . $timestamp . '-' . getmypid() . '-' . $this->row_iterator;
298 304
 	}
299 305
 
306
+	/**
307
+	 * @param integer $limit
308
+	 * @param integer $offset
309
+	 */
300 310
 	private function fetch_items( $limit = null, $offset = null ) {
301 311
 		global $wpdb;
302 312
 
Please login to merge, or discard this patch.