Fix code ...

This commit is contained in:
Benjamin Pick
2018-01-03 11:40:25 +01:00
parent 365cc3ee1f
commit 9cca21756a
2 changed files with 2 additions and 2 deletions

View File

@@ -290,7 +290,7 @@ class CartBase extends PayPalModel
*/
public function setItemList($item_list)
{
$this->item_list = array_values($item_list);
$this->item_list = $item_list;
return $this;
}

View File

@@ -27,7 +27,7 @@ class ItemList extends PayPalModel
*/
public function setItems($items)
{
$this->items = $items;
$this->items = array_values($items);
return $this;
}