Skip to content

Commit 0892f58

Browse files
authored
array php 53 fix
1 parent 791fbb0 commit 0892f58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Message/RestPurchaseRequest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,16 +479,16 @@ protected function getGatewayData()
479479
*/
480480
protected function getItemBagData()
481481
{
482-
$items = [];
482+
$items = array();
483483
$itemBag = $this->getItems();
484484
if (! empty($itemBag)) {
485485
foreach ($itemBag->all() as $item) {
486-
$items[] = [
486+
$items[] = array(
487487
'name' => $item->getName(),
488488
'description' => $item->getDescription(),
489489
'quantity' => $item->getQuantity(),
490490
'unit_price' => $item->getPrice(),
491-
];
491+
);
492492
}
493493
}
494494

0 commit comments

Comments
 (0)