Completed
Push — fix/language-packs ( c707c6...c0d674 )
by
unknown
214:41 queued 204:01
created
json-endpoints/jetpack/class.jetpack-json-api-sync-endpoint.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -107,6 +107,9 @@
 block discarded – undo
107 107
 		$this->enqueue_action( current_filter(), func_get_args(), $this->sync_queue );
108 108
 	}
109 109
 
110
+	/**
111
+	 * @param Jetpack_Sync_Queue $queue
112
+	 */
110 113
 	function enqueue_action( $current_filter, $args, $queue ) {
111 114
 
112 115
 		/**
Please login to merge, or discard this patch.
sync/class.jetpack-sync-queue.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -250,6 +250,9 @@  discard block
 block discarded – undo
250 250
 		return true;
251 251
 	}
252 252
 
253
+	/**
254
+	 * @param Jetpack_Sync_Queue_Buffer $buffer
255
+	 */
253 256
 	function close( $buffer, $ids_to_remove = null ) {
254 257
 		$is_valid = $this->validate_checkout( $buffer );
255 258
 
@@ -328,6 +331,9 @@  discard block
 block discarded – undo
328 331
 		return get_transient( $this->get_checkout_transient_name() );
329 332
 	}
330 333
 
334
+	/**
335
+	 * @param string $checkout_id
336
+	 */
331 337
 	private function set_checkout_id( $checkout_id ) {
332 338
 		return set_transient( $this->get_checkout_transient_name(), $checkout_id, 5 * 60 ); // 5 minute timeout
333 339
 	}
Please login to merge, or discard this patch.
sync/class.jetpack-sync-sender.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@  discard block
 block discarded – undo
52 52
 		return (double) get_option( self::NEXT_SYNC_TIME_OPTION_NAME . '_' . $queue_name, 0 );
53 53
 	}
54 54
 
55
+	/**
56
+	 * @param integer $time
57
+	 */
55 58
 	public function set_next_sync_time( $time, $queue_name ) {
56 59
 		return update_option( self::NEXT_SYNC_TIME_OPTION_NAME . '_' . $queue_name, $time, true );
57 60
 	}
@@ -64,6 +67,9 @@  discard block
 block discarded – undo
64 67
 		return $this->do_sync_and_set_delays( $this->sync_queue );
65 68
 	}
66 69
 
70
+	/**
71
+	 * @param Jetpack_Sync_Queue $queue
72
+	 */
67 73
 	public function do_sync_and_set_delays( $queue ) {
68 74
 		// don't sync if importing
69 75
 		if ( defined( 'WP_IMPORTING' ) && WP_IMPORTING ) {
@@ -293,6 +299,10 @@  discard block
 block discarded – undo
293 299
 	}
294 300
 
295 301
 	// in seconds
302
+
303
+	/**
304
+	 * @param double $seconds
305
+	 */
296 306
 	function set_max_dequeue_time( $seconds ) {
297 307
 		$this->max_dequeue_time = $seconds;
298 308
 	}
Please login to merge, or discard this patch.
sync/class.jetpack-sync-actions.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -321,6 +321,9 @@
 block discarded – undo
321 321
 		return self::DEFAULT_SYNC_CRON_INTERVAL;
322 322
 	}
323 323
 
324
+	/**
325
+	 * @param string $hook
326
+	 */
324 327
 	static function maybe_schedule_sync_cron( $schedule, $hook ) {
325 328
 		if ( ! $hook ) {
326 329
 			return;
Please login to merge, or discard this patch.