We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 791fbb0 commit 0892f58Copy full SHA for 0892f58
src/Message/RestPurchaseRequest.php
@@ -479,16 +479,16 @@ protected function getGatewayData()
479
*/
480
protected function getItemBagData()
481
{
482
- $items = [];
+ $items = array();
483
$itemBag = $this->getItems();
484
if (! empty($itemBag)) {
485
foreach ($itemBag->all() as $item) {
486
- $items[] = [
+ $items[] = array(
487
'name' => $item->getName(),
488
'description' => $item->getDescription(),
489
'quantity' => $item->getQuantity(),
490
'unit_price' => $item->getPrice(),
491
- ];
+ );
492
}
493
494
0 commit comments