From 12592055a084942f7b0ca06ae8b5205442391491 Mon Sep 17 00:00:00 2001 From: Bart Lagerweij Date: Tue, 13 Sep 2016 15:52:05 +0200 Subject: [PATCH] Fix for php 5.3 [] is a short syntax only and in PHP < 5.4 it won't work. --- src/LinkORB/Buckaroo/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LinkORB/Buckaroo/Request.php b/src/LinkORB/Buckaroo/Request.php index fe27b25..fd3a870 100644 --- a/src/LinkORB/Buckaroo/Request.php +++ b/src/LinkORB/Buckaroo/Request.php @@ -102,7 +102,7 @@ public function sendRequest($TransactionRequest, $type) $this->soapClient->__SetLocation('https://checkout.buckaroo.nl/soap/'); } - $return = []; + $return = array(); switch($type) { case 'invoiceinfo': $return['result'] = $this->soapClient->InvoiceInfo($TransactionRequest);