Completed
Push — add/plugins-sync-module-packag... ( 8ae67b...e83b3d )
by
unknown
295:47 queued 287:09
created
packages/sync/src/Sender.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -73,6 +73,9 @@  discard block
 block discarded – undo
73 73
 		return (float) get_option( self::NEXT_SYNC_TIME_OPTION_NAME . '_' . $queue_name, 0 );
74 74
 	}
75 75
 
76
+	/**
77
+	 * @param integer $time
78
+	 */
76 79
 	public function set_next_sync_time( $time, $queue_name ) {
77 80
 		return update_option( self::NEXT_SYNC_TIME_OPTION_NAME . '_' . $queue_name, $time, true );
78 81
 	}
@@ -103,6 +106,9 @@  discard block
 block discarded – undo
103 106
 		return $this->do_sync_and_set_delays( $this->sync_queue );
104 107
 	}
105 108
 
109
+	/**
110
+	 * @param \Jetpack_Sync_Queue $queue
111
+	 */
106 112
 	public function do_sync_and_set_delays( $queue ) {
107 113
 		// don't sync if importing
108 114
 		if ( defined( 'WP_IMPORTING' ) && WP_IMPORTING ) {
@@ -360,6 +366,10 @@  discard block
 block discarded – undo
360 366
 	}
361 367
 
362 368
 	// in seconds
369
+
370
+	/**
371
+	 * @param double $seconds
372
+	 */
363 373
 	function set_max_dequeue_time( $seconds ) {
364 374
 		$this->max_dequeue_time = $seconds;
365 375
 	}
Please login to merge, or discard this patch.
packages/sync/src/modules/Users.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -99,6 +99,9 @@
 block discarded – undo
99 99
 		return $user;
100 100
 	}
101 101
 
102
+	/**
103
+	 * @param \WP_User|null $user
104
+	 */
102 105
 	public function expand_user( $user ) {
103 106
 		if ( ! is_object( $user ) ) {
104 107
 			return null;
Please login to merge, or discard this patch.