Completed
Push — add/sync-rest-2 ( a434af...d8d9e1 )
by
unknown
77:18 queued 68:04
created
sync/class.jetpack-sync-client.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -323,6 +323,9 @@  discard block
 block discarded – undo
323 323
 		$this->codec = $codec;
324 324
 	}
325 325
 
326
+	/**
327
+	 * @param Jetpack_Sync_Full $full_sync_client
328
+	 */
326 329
 	function set_full_sync_client( $full_sync_client ) {
327 330
 		if ( $this->full_sync_client ) {
328 331
 			remove_action( 'jetpack_sync_full', array( $this->full_sync_client, 'start' ) );
@@ -516,6 +519,9 @@  discard block
 block discarded – undo
516 519
 		}
517 520
 	}
518 521
 
522
+	/**
523
+	 * @param string $action_name
524
+	 */
519 525
 	private function buffer_includes_action( $buffer, $action_name ) {
520 526
 		foreach( $buffer->get_items() as $item ) {
521 527
 			if ( $item[0] === $action_name ) {
@@ -525,6 +531,9 @@  discard block
 block discarded – undo
525 531
 		return false;
526 532
 	}
527 533
 
534
+	/**
535
+	 * @param string $when
536
+	 */
528 537
 	private function schedule_sync( $when ) {
529 538
 		wp_schedule_single_event( strtotime( $when ), 'jetpack_sync_actions' );
530 539
 	}
Please login to merge, or discard this patch.
sync/class.jetpack-sync-full.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -149,6 +149,10 @@
 block discarded – undo
149 149
 		$this->set_status("updates", 100);
150 150
 	}
151 151
 	
152
+	/**
153
+	 * @param string $name
154
+	 * @param integer $percent
155
+	 */
152 156
 	private function set_status( $name, $percent, $count = 1, $total =1 ) {
153 157
 		set_transient( self::$status_transient_name.'_'.$name, array( 
154 158
 			'phase' => 'preparing', 
Please login to merge, or discard this patch.