mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
Fix PHPCS
This commit is contained in:
parent
4521fc8f52
commit
4d68973408
1 changed files with 3 additions and 3 deletions
|
@ -199,8 +199,8 @@ class WooCommerceOrderCreator {
|
|||
$shipping_options = null;
|
||||
|
||||
if ( $payer ) {
|
||||
$address = $payer->address();
|
||||
$payer_name = $payer->name();
|
||||
$address = $payer->address();
|
||||
$payer_name = $payer->name();
|
||||
$payer_phone = $payer->phone();
|
||||
|
||||
$wc_email = null;
|
||||
|
@ -221,7 +221,7 @@ class WooCommerceOrderCreator {
|
|||
'state' => $address ? $address->admin_area_1() : '',
|
||||
'postcode' => $address ? $address->postal_code() : '',
|
||||
'country' => $address ? $address->country_code() : '',
|
||||
'phone' => $payer_phone ? $payer_phone->phone()->national_number() : ''
|
||||
'phone' => $payer_phone ? $payer_phone->phone()->national_number() : '',
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue