Merge pull request #1034 from benjaminpick/master

Re-Order the array keys so that JSON will be an array, not an object
This commit is contained in:
Jay
2018-02-14 15:07:34 -06:00
committed by GitHub
2 changed files with 23 additions and 3 deletions

View File

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