forked from LiveCarta/PayPal-PHP-SDK
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:
@@ -27,7 +27,7 @@ class ItemList extends PayPalModel
|
||||
*/
|
||||
public function setItems($items)
|
||||
{
|
||||
$this->items = $items;
|
||||
$this->items = array_values($items);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user