Skip to content

Commit 09c3119

Browse files
ENGCOM-1727: Fix incorrect type hinting in PHPDocs #15619
- Merge Pull Request #15619 from dmytro-ch/magento2:fix/2.1-phpdocs-incorrect-type-hinting - Merged commits: 1. ab64a2c
2 parents 1a099cb + ab64a2c commit 09c3119

File tree

1 file changed

+1
-3
lines changed
  • app/code/Magento/Sales/Model/Order/Shipment

1 file changed

+1
-3
lines changed

app/code/Magento/Sales/Model/Order/Shipment/Item.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,7 @@ public function getOrderItem()
146146
* Declare qty
147147
*
148148
* @param float $qty
149-
* @return \Magento\Sales\Model\Order\Invoice\Item
150-
* @throws \Magento\Framework\Exception\LocalizedException
149+
* @return $this
151150
*/
152151
public function setQty($qty)
153152
{
@@ -159,7 +158,6 @@ public function setQty($qty)
159158
* Applying qty to order item
160159
*
161160
* @return $this
162-
* @throws \Magento\Framework\Exception\LocalizedException
163161
*/
164162
public function register()
165163
{

0 commit comments

Comments
 (0)