Completed
Push — add/videopress-direct-integrat... ( b6188c...0afbb5 )
by
unknown
12:21
created
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-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.
sync/class.jetpack-sync-settings.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -107,6 +107,9 @@  discard block
 block discarded – undo
107 107
 		self::set_is_sending( null );
108 108
 	}
109 109
 
110
+	/**
111
+	 * @param boolean|null $is_importing
112
+	 */
110 113
 	static function set_importing( $is_importing ) {
111 114
 		// set to NULL to revert to WP_IMPORTING, the standard behaviour
112 115
 		self::$is_importing = $is_importing;
@@ -137,6 +140,9 @@  discard block
 block discarded – undo
137 140
 		return (bool) self::$is_syncing;
138 141
 	}
139 142
 
143
+	/**
144
+	 * @param boolean|null $is_syncing
145
+	 */
140 146
 	static function set_is_syncing( $is_syncing ) {
141 147
 		self::$is_syncing = $is_syncing;
142 148
 	}
@@ -145,6 +151,9 @@  discard block
 block discarded – undo
145 151
 		return (bool) self::$is_sending;
146 152
 	}
147 153
 
154
+	/**
155
+	 * @param boolean|null $is_sending
156
+	 */
148 157
 	static function set_is_sending( $is_sending ) {
149 158
 		self::$is_sending = $is_sending;
150 159
 	}
Please login to merge, or discard this patch.
sync/class.jetpack-sync-wp-replicastore.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -420,6 +420,10 @@  discard block
 block discarded – undo
420 420
 	}
421 421
 
422 422
 	// functions
423
+
424
+	/**
425
+	 * @param string $name
426
+	 */
423 427
 	public function get_callable( $name ) {
424 428
 		$value = get_option( 'jetpack_' . $name );
425 429
 
@@ -688,6 +692,9 @@  discard block
 block discarded – undo
688 692
 		return $histogram;
689 693
 	}
690 694
 
695
+	/**
696
+	 * @param string|null $id_column
697
+	 */
691 698
 	private function table_checksum( $table, $columns, $id_column, $where_sql = '1=1', $min_id = null, $max_id = null, $strip_non_ascii = true ) {
692 699
 		global $wpdb;
693 700
 
@@ -725,6 +732,9 @@  discard block
 block discarded – undo
725 732
 
726 733
 	}
727 734
 
735
+	/**
736
+	 * @param string $where_sql
737
+	 */
728 738
 	private function meta_count( $table, $where_sql, $min_id, $max_id ) {
729 739
 		global $wpdb;
730 740
 
Please login to merge, or discard this patch.