Skip to content

Commit 0ef07dc

Browse files
committed
MAGETWO-80369: Add missing return statements in setters #11127
- Merge Pull Request #11127 from niccifor/magento2:fix_itemcreation_setters - Merged commits: 1. 7d5fc25
2 parents 2fccb81 + 7d5fc25 commit 0ef07dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public function getOrderItemId()
4343
public function setOrderItemId($orderItemId)
4444
{
4545
$this->orderItemId = $orderItemId;
46+
return $this;
4647
}
4748

4849
/**
@@ -59,6 +60,7 @@ public function getQty()
5960
public function setQty($qty)
6061
{
6162
$this->qty = $qty;
63+
return $this;
6264
}
6365

6466
/**

0 commit comments

Comments
 (0)