From cd2bda57f788b11aeaf11a789853bf6fdb1802f9 Mon Sep 17 00:00:00 2001 From: Cleiton Alves Date: Sat, 27 May 2017 14:51:57 -0300 Subject: [PATCH] Fix method's name from addItems to addItem, because addItems does not exist --- src/ClearSale/XmlEntity/SendOrder/Order.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ClearSale/XmlEntity/SendOrder/Order.php b/src/ClearSale/XmlEntity/SendOrder/Order.php index 23e214e..84b1a41 100755 --- a/src/ClearSale/XmlEntity/SendOrder/Order.php +++ b/src/ClearSale/XmlEntity/SendOrder/Order.php @@ -696,7 +696,7 @@ public function getItems() public function setItems($items) { foreach ($items as $item) { - $this->addItems($item); + $this->addItem($item); } return $this;