@@ -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 ) { |