@@ -272,7 +272,6 @@ discard block |
||
| 272 | 272 | /** |
| 273 | 273 | * Adds a nonce for customizing menus. |
| 274 | 274 | * |
| 275 | - * @param array $nonces Array of nonces. |
|
| 276 | 275 | * @return array $nonces Modified array of nonces. |
| 277 | 276 | */ |
| 278 | 277 | function widget( $args, $instance ) { |
@@ -347,8 +346,7 @@ discard block |
||
| 347 | 346 | /** |
| 348 | 347 | * Gets the latests field value from either the old instance or the new instance. |
| 349 | 348 | * |
| 350 | - * @param array $mixed Array of values for the new form instance. |
|
| 351 | - * @param array $mixed Array of values for the old form instance. |
|
| 349 | + * @param string $field |
|
| 352 | 350 | * @return mixed $mixed Field value. |
| 353 | 351 | */ |
| 354 | 352 | private function get_latest_field_value( $new_instance, $old_instance, $field) { |
@@ -362,6 +360,7 @@ discard block |
||
| 362 | 360 | * it returns the default values. |
| 363 | 361 | * |
| 364 | 362 | * @param int Product Post ID. |
| 363 | + * @param integer $product_post_id |
|
| 365 | 364 | * @return array $fields Product Fields from the Product Post. |
| 366 | 365 | */ |
| 367 | 366 | private function get_product_from_post( $product_post_id ) { |