Completed
Push — fix/simple-payments-widget-pre... ( 1d1a72...138eb3 )
by
unknown
08:49
created
modules/widgets/simple-payments.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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 ) {
Please login to merge, or discard this patch.