@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | * Returns the number of decimal places on string representing a price. |
271 | 271 | * |
272 | 272 | * @param string $number Price to check. |
273 | - * @return number number of decimal places. |
|
273 | + * @return null|integer number of decimal places. |
|
274 | 274 | */ |
275 | 275 | private function get_decimal_places( $number ) { |
276 | 276 | $parts = explode( '.', $number ); |
@@ -367,8 +367,7 @@ discard block |
||
367 | 367 | /** |
368 | 368 | * Gets the latests field value from either the old instance or the new instance. |
369 | 369 | * |
370 | - * @param array $mixed Array of values for the new form instance. |
|
371 | - * @param array $mixed Array of values for the old form instance. |
|
370 | + * @param string $field |
|
372 | 371 | * @return mixed $mixed Field value. |
373 | 372 | */ |
374 | 373 | private function get_latest_field_value( $new_instance, $old_instance, $field) { |
@@ -382,6 +381,7 @@ discard block |
||
382 | 381 | * it returns the default values. |
383 | 382 | * |
384 | 383 | * @param int Product Post ID. |
384 | + * @param integer $product_post_id |
|
385 | 385 | * @return array $fields Product Fields from the Product Post. |
386 | 386 | */ |
387 | 387 | private function get_product_from_post( $product_post_id ) { |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | |
66 | 66 | /** |
67 | 67 | * Returns status of WordAds approval. |
68 | - * @return boolean true if site is WordAds approved |
|
68 | + * @return string true if site is WordAds approved |
|
69 | 69 | * |
70 | 70 | * @since 4.5.0 |
71 | 71 | */ |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | |
80 | 80 | /** |
81 | 81 | * Returns status of WordAds active. |
82 | - * @return boolean true if ads are active on site |
|
82 | + * @return string true if ads are active on site |
|
83 | 83 | * |
84 | 84 | * @since 4.5.0 |
85 | 85 | */ |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | |
94 | 94 | /** |
95 | 95 | * Returns status of WordAds house ads. |
96 | - * @return boolean true if WP.com house ads should be shown |
|
96 | + * @return string true if WP.com house ads should be shown |
|
97 | 97 | * |
98 | 98 | * @since 4.5.0 |
99 | 99 | */ |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | |
109 | 109 | /** |
110 | 110 | * Returns whether or not this site is safe to run ads on. |
111 | - * @return boolean true if ads shown not be shown on this site. |
|
111 | + * @return string true if ads shown not be shown on this site. |
|
112 | 112 | * |
113 | 113 | * @since 6.5.0 |
114 | 114 | */ |