forked from LiveCarta/PayPal-PHP-SDK
Fixes PHP 5.3 Support
Using short array syntax breaks the support of PHP 5.3.
This commit is contained in:
@@ -36,10 +36,10 @@ class FuturePayment extends Payment
|
|||||||
"/v1/payments/payment",
|
"/v1/payments/payment",
|
||||||
"POST",
|
"POST",
|
||||||
$payLoad,
|
$payLoad,
|
||||||
[
|
array(
|
||||||
'Paypal-Application-Correlation-Id' => $correlationId,
|
'Paypal-Application-Correlation-Id' => $correlationId,
|
||||||
'PAYPAL-CLIENT-METADATA-ID' => $correlationId
|
'PAYPAL-CLIENT-METADATA-ID' => $correlationId
|
||||||
]
|
)
|
||||||
);
|
);
|
||||||
$this->fromJson($json);
|
$this->fromJson($json);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user