mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 14:57:26 +08:00
Fix psalm
This commit is contained in:
parent
4978107554
commit
7dbb0e32c1
1 changed files with 2 additions and 2 deletions
|
@ -234,8 +234,8 @@ class PayUponInvoiceOrderEndpoint {
|
|||
$surname = $payment_source['name']['surname'] ?? '';
|
||||
$address = $payment_source['billing_address'] ?? array();
|
||||
|
||||
$data['purchase_units'][0]['shipping']['name']['full_name'] = $given_name . ' ' . $surname;
|
||||
$data['purchase_units'][0]['shipping']['address'] = $address;
|
||||
$data['purchase_units'][0]['shipping']['name'] = array( 'full_name' => $given_name . ' ' . $surname );
|
||||
$data['purchase_units'][0]['shipping']['address'] = $address;
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue