mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix phpcs
This commit is contained in:
parent
dd990ca44a
commit
2e524b53ea
6 changed files with 61 additions and 62 deletions
|
@ -27,38 +27,38 @@ return array(
|
|||
return array(
|
||||
'bancontact' => array(
|
||||
'id' => BancontactGateway::ID,
|
||||
'countries' => array('BE',),
|
||||
'currencies' => array('EUR',),
|
||||
'countries' => array( 'BE' ),
|
||||
'currencies' => array( 'EUR' ),
|
||||
),
|
||||
'blik' => array(
|
||||
'id' => BlikGateway::ID,
|
||||
'countries' => array('PL',),
|
||||
'currencies' => array('PLN',),
|
||||
'countries' => array( 'PL' ),
|
||||
'currencies' => array( 'PLN' ),
|
||||
),
|
||||
'eps' => array(
|
||||
'id' => EPSGateway::ID,
|
||||
'countries' => array('AT',),
|
||||
'currencies' => array('EUR',),
|
||||
'countries' => array( 'AT' ),
|
||||
'currencies' => array( 'EUR' ),
|
||||
),
|
||||
'ideal' => array(
|
||||
'id' => IDealGateway::ID,
|
||||
'countries' => array('NL',),
|
||||
'currencies' => array('EUR',),
|
||||
'countries' => array( 'NL' ),
|
||||
'currencies' => array( 'EUR' ),
|
||||
),
|
||||
'mybank' => array(
|
||||
'id' => MyBankGateway::ID,
|
||||
'countries' => array('IT',),
|
||||
'currencies' => array('EUR',),
|
||||
'countries' => array( 'IT' ),
|
||||
'currencies' => array( 'EUR' ),
|
||||
),
|
||||
'p24' => array(
|
||||
'id' => P24Gateway::ID,
|
||||
'countries' => array('PL',),
|
||||
'currencies' => array('EUR', 'PLN',),
|
||||
'countries' => array( 'PL' ),
|
||||
'currencies' => array( 'EUR', 'PLN' ),
|
||||
),
|
||||
'trustly' => array(
|
||||
'id' => TrustlyGateway::ID,
|
||||
'countries' => array('AT', 'DE', 'DK', 'EE', 'ES', 'FI', 'GB', 'LT', 'LV', 'NL', 'NO', 'SE',),
|
||||
'currencies' => array('EUR', 'DKK', 'SEK', 'GBP', 'NOK',),
|
||||
'countries' => array( 'AT', 'DE', 'DK', 'EE', 'ES', 'FI', 'GB', 'LT', 'LV', 'NL', 'NO', 'SE' ),
|
||||
'currencies' => array( 'EUR', 'DKK', 'SEK', 'GBP', 'NOK' ),
|
||||
),
|
||||
);
|
||||
},
|
||||
|
|
|
@ -140,7 +140,6 @@ class IDealGateway extends WC_Payment_Gateway {
|
|||
);
|
||||
// TODO get "bic" from gateway settings.
|
||||
|
||||
|
||||
$request_body = array(
|
||||
'intent' => 'CAPTURE',
|
||||
'payment_source' => array(
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* iDeal payment method.
|
||||
* IDeal payment method.
|
||||
*
|
||||
* @package WooCommerce\PayPalCommerce\LocalAlternativePaymentMethods
|
||||
*/
|
||||
|
@ -31,7 +31,7 @@ class IDealPaymentMethod extends AbstractPaymentMethodType {
|
|||
private $version;
|
||||
|
||||
/**
|
||||
* iDeal WC gateway.
|
||||
* IDeal WC gateway.
|
||||
*
|
||||
* @var IDealGateway
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue