@@ -32,7 +32,7 @@ |
||
| 32 | 32 | * Adds the state value. |
| 33 | 33 | * |
| 34 | 34 | * @param string $key Key under which we need to store the value under. |
| 35 | - * @param mixed $value Value of the key that we want to store. |
|
| 35 | + * @param boolean|string $value Value of the key that we want to store. |
|
| 36 | 36 | */ |
| 37 | 37 | public function add_state_value( $key, $value ) { |
| 38 | 38 | $this->state[ $key ] = $value; |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | * @param int $post_ID Post ID. |
| 131 | 131 | * @param array $args an Array containing post data. |
| 132 | 132 | * |
| 133 | - * @return mixed |
|
| 133 | + * @return integer |
|
| 134 | 134 | */ |
| 135 | 135 | public function maybe_initialize_post_sync_item( $post_parent, $post_ID, $args ) { |
| 136 | 136 | if ( $post_ID ) { |
@@ -323,7 +323,7 @@ discard block |
||
| 323 | 323 | * @todo Use $wpdb->prepare for the SQL query. |
| 324 | 324 | * |
| 325 | 325 | * @param array $config Full sync configuration for this sync module. |
| 326 | - * @return array Number of items yet to be enqueued. |
|
| 326 | + * @return integer Number of items yet to be enqueued. |
|
| 327 | 327 | */ |
| 328 | 328 | public function estimate_full_sync_actions( $config ) { |
| 329 | 329 | global $wpdb; |
@@ -359,7 +359,7 @@ discard block |
||
| 359 | 359 | * |
| 360 | 360 | * @access public |
| 361 | 361 | * |
| 362 | - * @return array Full sync actions of this module. |
|
| 362 | + * @return string[] Full sync actions of this module. |
|
| 363 | 363 | */ |
| 364 | 364 | public function get_full_sync_actions() { |
| 365 | 365 | return array( 'jetpack_full_sync_posts' ); |