Skip to content

Commit

Permalink
Merge pull request #18 from ariscratle/hotfix/order-method
Browse files Browse the repository at this point in the history
Fix method's name from addItems to addItem
  • Loading branch information
lucasmro authored May 28, 2017
2 parents 6b11f5e + cd2bda5 commit 74684c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClearSale/XmlEntity/SendOrder/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ public function getItems()
public function setItems($items)
{
foreach ($items as $item) {
$this->addItems($item);
$this->addItem($item);
}

return $this;
Expand Down

0 comments on commit 74684c6

Please sign in to comment.