mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
🎨 Code style changes
This commit is contained in:
parent
720b6cf309
commit
75f1ec3409
2 changed files with 14 additions and 14 deletions
|
@ -70,21 +70,21 @@ class MerchantConnectionDTO {
|
|||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param bool $is_sandbox Whether this connection is a sandbox account.
|
||||
* @param string $client_id API client ID.
|
||||
* @param string $client_secret API client secret.
|
||||
* @param string $merchant_id PayPal's 13-character merchant ID.
|
||||
* @param string $merchant_email Email address of the merchant account.
|
||||
* @param bool $is_sandbox Whether this connection is a sandbox account.
|
||||
* @param string $client_id API client ID.
|
||||
* @param string $client_secret API client secret.
|
||||
* @param string $merchant_id PayPal's 13-character merchant ID.
|
||||
* @param string $merchant_email Email address of the merchant account.
|
||||
* @param string $merchant_country Merchant's country.
|
||||
* @param string $seller_type Whether the merchant is a business or personal account.
|
||||
* @param string $seller_type Whether the merchant is a business or personal account.
|
||||
*/
|
||||
public function __construct(
|
||||
bool $is_sandbox,
|
||||
string $client_id,
|
||||
string $client_secret,
|
||||
string $merchant_id,
|
||||
string $merchant_email,
|
||||
string $merchant_country,
|
||||
string $merchant_email = '',
|
||||
string $merchant_country = '',
|
||||
string $seller_type = SellerTypeEnum::UNKNOWN
|
||||
) {
|
||||
$this->is_sandbox = $is_sandbox;
|
||||
|
|
|
@ -84,13 +84,13 @@ class AuthenticationManager {
|
|||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param GeneralSettings $common_settings Data model that stores the connection details.
|
||||
* @param EnvironmentConfig $connection_host API host for direct authentication.
|
||||
* @param EnvironmentConfig $login_endpoint API handler to fetch merchant credentials.
|
||||
* @param PartnerReferralsData $referrals_data Partner referrals data.
|
||||
* @param ConnectionState $connection_state Connection state manager.
|
||||
* @param GeneralSettings $common_settings Data model that stores the connection details.
|
||||
* @param EnvironmentConfig $connection_host API host for direct authentication.
|
||||
* @param EnvironmentConfig $login_endpoint API handler to fetch merchant credentials.
|
||||
* @param PartnerReferralsData $referrals_data Partner referrals data.
|
||||
* @param ConnectionState $connection_state Connection state manager.
|
||||
* @param PartnersEndpoint $partners_endpoint Partners endpoint.
|
||||
* @param ?LoggerInterface $logger Logging instance.
|
||||
* @param ?LoggerInterface $logger Logging instance.
|
||||
*/
|
||||
public function __construct(
|
||||
GeneralSettings $common_settings,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue