Skip to content

Commit

Permalink
Fix for php 5.3
Browse files Browse the repository at this point in the history
[] is a short syntax only and in PHP < 5.4 it won't work.
  • Loading branch information
bartpe authored Sep 13, 2016
1 parent edebc43 commit 1259205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LinkORB/Buckaroo/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1259205

Please sign in to comment.