File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -857,7 +857,7 @@ public function getProductOptions();
857
857
* @param string[] $productOptions
858
858
* @return $this
859
859
*/
860
- public function setProductOptions ($ productOptions );
860
+ public function setProductOptions (array $ productOptions = null );
861
861
862
862
/**
863
863
* Gets the product type for the order item.
@@ -1068,7 +1068,7 @@ public function getParentItem();
1068
1068
* @param \Magento\Sales\Api\Data\OrderItemInterface $parentItem
1069
1069
* @return $this
1070
1070
*/
1071
- public function setParentItem ($ parentItem );
1071
+ public function setParentItem (\ Magento \ Sales \ Api \ Data \ OrderItemInterface $ parentItem );
1072
1072
1073
1073
/**
1074
1074
* Sets the updated-at timestamp for the order item.
Original file line number Diff line number Diff line change @@ -150,10 +150,10 @@ protected function _construct()
150
150
/**
151
151
* Set parent item
152
152
*
153
- * @param Item $item
153
+ * @param \Magento\Sales\Api\Data\OrderItemInterface $item
154
154
* @return $this
155
155
*/
156
- public function setParentItem ($ item )
156
+ public function setParentItem (\ Magento \ Sales \ Api \ Data \ OrderItemInterface $ item )
157
157
{
158
158
if ($ item ) {
159
159
$ this ->setData (OrderItemInterface::PARENT_ITEM , $ item );
@@ -453,7 +453,7 @@ public function getOriginalPrice()
453
453
* @param array $options
454
454
* @return $this
455
455
*/
456
- public function setProductOptions ($ options )
456
+ public function setProductOptions (array $ options = null )
457
457
{
458
458
$ this ->setData ('product_options ' , $ options );
459
459
return $ this ;
You can’t perform that action at this time.
0 commit comments