Completed
Push — add/sync-action ( d5ee32...c4907d )
by
unknown
18:08 queued 09:17
created
sync/class.jetpack-sync-client.php 1 patch
Doc Comments   +17 added lines patch added patch discarded remove patch
@@ -195,16 +195,27 @@  discard block
 block discarded – undo
195 195
 		$this->network_options_whitelist = $options;
196 196
 	}
197 197
 
198
+	/**
199
+	 * @param integer $size
200
+	 */
198 201
 	function set_send_buffer_memory_size( $size ) {
199 202
 		$this->checkout_memory_size = $size;
200 203
 	}
201 204
 
202 205
 	// in bytes
206
+
207
+	/**
208
+	 * @param integer $max_bytes
209
+	 */
203 210
 	function set_upload_max_bytes( $max_bytes ) {
204 211
 		$this->upload_max_bytes = $max_bytes;
205 212
 	}
206 213
 
207 214
 	// in rows
215
+
216
+	/**
217
+	 * @param integer $max_rows
218
+	 */
208 219
 	function set_upload_max_rows( $max_rows ) {
209 220
 		$this->upload_max_rows = $max_rows;
210 221
 	}
@@ -476,6 +487,9 @@  discard block
 block discarded – undo
476 487
 		}
477 488
 	}
478 489
 
490
+	/**
491
+	 * @param string $action_name
492
+	 */
479 493
 	private function buffer_includes_action( $buffer, $action_name ) {
480 494
 		foreach ( $buffer->get_items() as $item ) {
481 495
 			if ( $item[0] === $action_name ) {
@@ -505,6 +519,9 @@  discard block
 block discarded – undo
505 519
 		return $post;
506 520
 	}
507 521
 
522
+	/**
523
+	 * @param string $when
524
+	 */
508 525
 	private function schedule_sync( $when ) {
509 526
 		wp_schedule_single_event( strtotime( $when ), 'jetpack_sync_actions' );
510 527
 	}
Please login to merge, or discard this patch.