@@ -43,7 +43,7 @@ |
||
| 43 | 43 | /** |
| 44 | 44 | * This function mirrors Jetpack_Data::is_usable_domain() in the WPCOM codebase. |
| 45 | 45 | * |
| 46 | - * @param $domain |
|
| 46 | + * @param string|false $domain |
|
| 47 | 47 | * @param array $extra |
| 48 | 48 | * |
| 49 | 49 | * @return bool|WP_Error |
@@ -257,8 +257,7 @@ discard block |
||
| 257 | 257 | /** |
| 258 | 258 | * Gets the latests field value from either the old instance or the new instance. |
| 259 | 259 | * |
| 260 | - * @param array $mixed Array of values for the new form instance. |
|
| 261 | - * @param array $mixed Array of values for the old form instance. |
|
| 260 | + * @param string $field |
|
| 262 | 261 | * @return mixed $mixed Field value. |
| 263 | 262 | */ |
| 264 | 263 | private function get_latest_field_value( $new_instance, $old_instance, $field) { |
@@ -272,6 +271,7 @@ discard block |
||
| 272 | 271 | * it returns the default values. |
| 273 | 272 | * |
| 274 | 273 | * @param int Product Post ID. |
| 274 | + * @param integer $product_post_id |
|
| 275 | 275 | * @return array $fields Product Fields from the Product Post. |
| 276 | 276 | */ |
| 277 | 277 | private function get_product_from_post( $product_post_id ) { |