From 4ea396d1c2301a988ff99b960293352830156885 Mon Sep 17 00:00:00 2001 From: Chirag Matholiya Date: Sun, 24 Jun 2018 22:34:59 +0530 Subject: [PATCH] Fixes incorrect hint type. --- app/code/Magento/Sales/Model/Order/Shipment/Item.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/code/Magento/Sales/Model/Order/Shipment/Item.php b/app/code/Magento/Sales/Model/Order/Shipment/Item.php index 0da936e74ca6c..5d1fc9057fff4 100644 --- a/app/code/Magento/Sales/Model/Order/Shipment/Item.php +++ b/app/code/Magento/Sales/Model/Order/Shipment/Item.php @@ -144,8 +144,7 @@ public function getOrderItem() * Declare qty * * @param float $qty - * @return \Magento\Sales\Model\Order\Shipment\Item - * @throws \Magento\Framework\Exception\LocalizedException + * @return $this */ public function setQty($qty) { @@ -157,7 +156,6 @@ public function setQty($qty) * Applying qty to order item * * @return $this - * @throws \Magento\Framework\Exception\LocalizedException */ public function register() {