Fixes PHP 5.3 Support

Using short array syntax breaks the support of PHP 5.3.
This commit is contained in:
spezi|Fanta
2014-10-16 11:49:02 +02:00
committed by japatel
parent 84660cbb2a
commit 2fb68e8a7a

View File

@@ -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);