Completed
Push — add/sync-action ( b7b7fe...cfb5f0 )
by
unknown
09:34
created
sync/class.jetpack-sync-queue.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@  discard block
 block discarded – undo
7 7
 	public $id;
8 8
 	public $items_with_ids;
9 9
 
10
+	/**
11
+	 * @param string $id
12
+	 */
10 13
 	public function __construct( $id, $items_with_ids ) {
11 14
 		$this->id             = $id;
12 15
 		$this->items_with_ids = $items_with_ids;
@@ -31,6 +34,9 @@  discard block
 block discarded – undo
31 34
 	public $id;
32 35
 	private $row_iterator;
33 36
 
37
+	/**
38
+	 * @param string $id
39
+	 */
34 40
 	function __construct( $id ) {
35 41
 		$this->id            = str_replace( '-', '_', $id ); // necessary to ensure we don't have ID collisions in the SQL
36 42
 		$this->row_iterator  = 0;
@@ -303,6 +309,9 @@  discard block
 block discarded – undo
303 309
 		return get_transient( $this->get_checkout_transient_name() );
304 310
 	}
305 311
 
312
+	/**
313
+	 * @param string $checkout_id
314
+	 */
306 315
 	private function set_checkout_id( $checkout_id ) {
307 316
 		return set_transient( $this->get_checkout_transient_name(), $checkout_id, 5*60 ); // 5 minute timeout
308 317
 	}
Please login to merge, or discard this patch.