@@ -71,6 +71,9 @@ discard block |
||
71 | 71 | return array(); |
72 | 72 | } |
73 | 73 | |
74 | + /** |
|
75 | + * @param integer $limit |
|
76 | + */ |
|
74 | 77 | abstract protected function fetch_items( $limit = null ); |
75 | 78 | |
76 | 79 | // use with caution, this could allow multiple processes to delete |
@@ -421,6 +424,9 @@ discard block |
||
421 | 424 | return true; |
422 | 425 | } |
423 | 426 | |
427 | + /** |
|
428 | + * @param Jetpack_Sync_Queue_Buffer $buffer |
|
429 | + */ |
|
424 | 430 | function close( $buffer, $ids_to_remove = null ) { |
425 | 431 | $is_valid = $this->validate_checkout( $buffer ); |
426 | 432 | |
@@ -514,6 +520,9 @@ discard block |
||
514 | 520 | return false; |
515 | 521 | } |
516 | 522 | |
523 | + /** |
|
524 | + * @param string $checkout_id |
|
525 | + */ |
|
517 | 526 | private function set_checkout_id( $checkout_id ) { |
518 | 527 | global $wpdb; |
519 | 528 |