From 2fb68e8a7ae3be7b101a1994e6942e8e568efccf Mon Sep 17 00:00:00 2001 From: spezi|Fanta Date: Thu, 16 Oct 2014 11:49:02 +0200 Subject: [PATCH] Fixes PHP 5.3 Support Using short array syntax breaks the support of PHP 5.3. --- lib/PayPal/Api/FuturePayment.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PayPal/Api/FuturePayment.php b/lib/PayPal/Api/FuturePayment.php index f96d4fa..69dbebb 100644 --- a/lib/PayPal/Api/FuturePayment.php +++ b/lib/PayPal/Api/FuturePayment.php @@ -36,10 +36,10 @@ class FuturePayment extends Payment "/v1/payments/payment", "POST", $payLoad, - [ + array( 'Paypal-Application-Correlation-Id' => $correlationId, 'PAYPAL-CLIENT-METADATA-ID' => $correlationId - ] + ) ); $this->fromJson($json);