Completed
Push — update/sync-checkout-endpoint-... ( 4e5e6f...db4905 )
by
unknown
06:56
created
packages/sync/src/modules/Term_Relationships.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
 	 *
125 125
 	 * @access public
126 126
 	 *
127
-	 * @return array Full sync actions of this module.
127
+	 * @return string[] Full sync actions of this module.
128 128
 	 */
129 129
 	public function get_full_sync_actions() {
130 130
 		return array( 'jetpack_full_sync_term_relationships' );
Please login to merge, or discard this patch.
class.json-api-endpoints.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -1534,6 +1534,7 @@  discard block
 block discarded – undo
1534 1534
 	 * timezone set in the options table for the blog or the GMT offset.
1535 1535
 	 *
1536 1536
 	 * @param datetime string $date_string Date to parse.
1537
+	 * @param string $date_string
1537 1538
 	 *
1538 1539
 	 * @return array( $local_time_string, $gmt_time_string )
1539 1540
 	 */
@@ -1643,6 +1644,10 @@  discard block
 block discarded – undo
1643 1644
 		do_action( 'restapi_theme_init' );
1644 1645
 	}
1645 1646
 
1647
+	/**
1648
+	 * @param string $from_hook
1649
+	 * @param string $to_hook
1650
+	 */
1646 1651
 	function copy_hooks( $from_hook, $to_hook, $base_paths ) {
1647 1652
 		global $wp_filter;
1648 1653
 		foreach ( $wp_filter as $hook => $actions ) {
Please login to merge, or discard this patch.
json-endpoints/jetpack/class.jetpack-json-api-sync-endpoint.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@  discard block
 block discarded – undo
43 43
 		return array( 'scheduled' => Actions::do_full_sync( $modules ) );
44 44
 	}
45 45
 
46
+	/**
47
+	 * @return string
48
+	 */
46 49
 	protected function validate_queue( $query ) {
47 50
 		if ( ! isset( $query ) ) {
48 51
 			return new WP_Error( 'invalid_queue', 'Queue name is required', 400 );
@@ -233,6 +236,10 @@  discard block
 block discarded – undo
233 236
 		);
234 237
 	}
235 238
 
239
+	/**
240
+	 * @param Queue $queue
241
+	 * @param integer $number_of_items
242
+	 */
236 243
 	protected function get_buffer( $queue, $number_of_items ) {
237 244
 		$start = time();
238 245
 		$max_duration = 5; // this will try to get the buffer
Please login to merge, or discard this patch.