🚨 Address CI errors

This commit is contained in:
Philipp Stracker 2024-09-18 16:47:21 +02:00
parent 3affc6afbc
commit a5a1294483
No known key found for this signature in database
2 changed files with 13 additions and 2 deletions

View file

@ -88,7 +88,7 @@ class AxoBlockPaymentMethod extends AbstractPaymentMethodType {
* @param SmartButtonInterface|callable $smart_button The smart button script loading
* handler.
* @param Settings $settings The settings.
* @param DCCGatewayConfiguration $dcc_configuration The DCC gateway settings.
* @param DCCGatewayConfiguration $dcc_configuration The DCC gateway settings.
* @param Environment $environment The environment object.
* @param string $wcgateway_module_url The WcGateway module URL.
*/
@ -98,7 +98,7 @@ class AxoBlockPaymentMethod extends AbstractPaymentMethodType {
WC_Payment_Gateway $gateway,
$smart_button,
Settings $settings,
DCCGatewayConfiguration $dcc_configuration,
DCCGatewayConfiguration $dcc_configuration,
Environment $environment,
string $wcgateway_module_url
) {

View file

@ -20,7 +20,18 @@ use WooCommerce\PayPalCommerce\WcGateway\Exception\NotFoundException;
* way to access gateway settings by wrapping the Settings instance.
*/
class DCCGatewayConfiguration {
/**
* Gateway title.
*
* @var string
*/
private string $gateway_title;
/**
* Whether to display the cardholder's name on the payment form.
*
* @var string
*/
private string $show_name_on_card;
/**