From ab3e073e1c5292faa6d0a0b1e02b3a3532039c81 Mon Sep 17 00:00:00 2001 From: carmenmaymo Date: Fri, 20 Oct 2023 08:22:22 +0200 Subject: [PATCH] Fix CS --- .../ApplePayButton/ApplePayDataObjectHttp.php | 2 +- src/PaymentMethods/Kbc.php | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Buttons/ApplePayButton/ApplePayDataObjectHttp.php b/src/Buttons/ApplePayButton/ApplePayDataObjectHttp.php index 38f91294..db7f6919 100644 --- a/src/Buttons/ApplePayButton/ApplePayDataObjectHttp.php +++ b/src/Buttons/ApplePayButton/ApplePayDataObjectHttp.php @@ -326,7 +326,7 @@ protected function addressHasRequiredFieldsValues( sprintf('ApplePay Data Error: Missing value for %s', $requiredField) ); $this->errors[] - = [ + = [ 'errorCode' => $errorCode, 'contactField' => $errorValue, ]; diff --git a/src/PaymentMethods/Kbc.php b/src/PaymentMethods/Kbc.php index 361116ed..5c220cac 100644 --- a/src/PaymentMethods/Kbc.php +++ b/src/PaymentMethods/Kbc.php @@ -6,10 +6,10 @@ class Kbc extends AbstractPaymentMethod implements PaymentMethodI { -protected const DEFAULT_ISSUERS_DROPDOWN = 'yes'; -protected function getConfig(): array -{ - return [ + protected const DEFAULT_ISSUERS_DROPDOWN = 'yes'; + protected function getConfig(): array + { + return [ 'id' => 'kbc', 'defaultTitle' => __('KBC/CBC Payment Button', 'mollie-payments-for-woocommerce'), 'settingsDescription' => '', @@ -23,10 +23,10 @@ protected function getConfig(): array 'filtersOnBuild' => false, 'confirmationDelayed' => true, 'SEPA' => true, - ]; -} + ]; + } -public function getFormFields($generalFormFields): array + public function getFormFields($generalFormFields): array { $paymentMethodFormFieds = [ 'issuers_dropdown_shown' => [