Completed
Push — try/full-sync-send-immediately ( bcaac9...28b873 )
by
unknown
13:16 queued 06:20
created
packages/sync/src/modules/class-woocommerce.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 	 *
155 155
 	 * @access public
156 156
 	 *
157
-	 * @return array Full sync actions of this module.
157
+	 * @return string[] Full sync actions of this module.
158 158
 	 */
159 159
 	public function get_full_sync_actions() {
160 160
 		return array( 'jetpack_full_sync_woocommerce_order_items' );
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
 	 * @param int     $send_until Maximum duration of processing.
252 252
 	 * @param boolean $state True if full sync has finished enqueueing this module, false otherwise.
253 253
 	 *
254
-	 * @return array Number of actions enqueued, and next module state.
254
+	 * @return boolean Number of actions enqueued, and next module state.
255 255
 	 */
256 256
 	public function send_full_sync_actions( $config, $send_until, $state ) {
257 257
 		return $this->send_all_ids_as_action( 'jetpack_full_sync_woocommerce_order_items', $this->order_item_table_name, 'order_item_id', $this->get_where_sql( $config ), $send_until, $state );
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
 	 * @todo Refactor the SQL query to use $wpdb->prepare().
266 266
 	 *
267 267
 	 * @param array $config Full sync configuration for this sync module.
268
-	 * @return array Number of items yet to be enqueued.
268
+	 * @return integer Number of items yet to be enqueued.
269 269
 	 */
270 270
 	public function estimate_full_sync_actions( $config ) {
271 271
 		global $wpdb;
Please login to merge, or discard this patch.
packages/sync/src/modules/class-full-sync-immediately.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -334,7 +334,6 @@  discard block
 block discarded – undo
334 334
 	 *
335 335
 	 * @access public
336 336
 	 *
337
-	 * @param array $configs Full sync configuration for all sync modules.
338 337
 	 */
339 338
 	public function continue_sending() {
340 339
 		// TODO Lock.
@@ -352,7 +351,6 @@  discard block
 block discarded – undo
352 351
 	 *
353 352
 	 * @access public
354 353
 	 *
355
-	 * @param array $configs Full sync configuration for all sync modules.
356 354
 	 */
357 355
 	public function send() {
358 356
 		$config = $this->get_status()['config'];
Please login to merge, or discard this patch.