Completed
Push — add/sync-rest-2 ( 6651c8...e1b6d9 )
by
unknown
23:50 queued 14:29
created
sync/class.jetpack-sync-queue.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@  discard block
 block discarded – undo
30 30
 	public $id;
31 31
 	private $checkout_size;
32 32
 
33
+	/**
34
+	 * @param string $id
35
+	 */
33 36
 	function __construct( $id, $checkout_size = 10 ) {
34 37
 		$this->id = str_replace( '-', '_', $id); // necessary to ensure we don't have ID collisions in the SQL
35 38
 		$this->checkout_size = $checkout_size;
@@ -127,6 +130,9 @@  discard block
 block discarded – undo
127 130
 		return get_option( "jetpack_sync_queue_{$this->id}-checkout", false );
128 131
 	}
129 132
 
133
+	/**
134
+	 * @param string $checkout_id
135
+	 */
130 136
 	private function set_checkout_id( $checkout_id ) {
131 137
 		return add_option( "jetpack_sync_queue_{$this->id}-checkout", $checkout_id, null, true ); // this one we should autoload
132 138
 	}
@@ -145,6 +151,9 @@  discard block
 block discarded – undo
145 151
 		return 'jetpack_sync_queue_'.$this->id.'-'.$timestamp.'-'.getmypid();
146 152
 	}
147 153
 
154
+	/**
155
+	 * @param integer $limit
156
+	 */
148 157
 	private function fetch_items( $limit = null ) {
149 158
 		global $wpdb;
150 159
 
Please login to merge, or discard this patch.