From 09cff41f4cee1b93ecf943c6dc49634e1eaf926d Mon Sep 17 00:00:00 2001 From: Tungnx Date: Wed, 18 Dec 2024 15:58:07 +0700 Subject: [PATCH] = 4.2.7.6 = --- inc/Helpers/Template.php | 2 +- templates/checkout/payment-method.php | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/inc/Helpers/Template.php b/inc/Helpers/Template.php index 665fc6edc..6c5ebe749 100644 --- a/inc/Helpers/Template.php +++ b/inc/Helpers/Template.php @@ -302,7 +302,7 @@ public static function insert_value_to_position_array( $old_array, $position, $k * Print message * * @param string $message - * @param string $status + * @param string $status 'success', 'warning', 'error, 'info' * * @return void * @since 4.2.6.9.3 diff --git a/templates/checkout/payment-method.php b/templates/checkout/payment-method.php index 48c17111d..a6c806c11 100644 --- a/templates/checkout/payment-method.php +++ b/templates/checkout/payment-method.php @@ -11,6 +11,9 @@ defined( 'ABSPATH' ) || exit(); +/** + * @var LP_Gateway_Abstract $gateway + */ if ( ! isset( $gateway ) ) { return; }