Skip to content

Commit a0f1c4a

Browse files
authored
Add correct return type in order service
The method return $this. I corrected the doc-block.
1 parent 7599c36 commit a0f1c4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/Service/OrderService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public function place(\Magento\Sales\Api\Data\OrderInterface $order)
210210
* @param string $comment
211211
* @param bool $isCustomerNotified
212212
* @param bool $shouldProtectState
213-
* @return \Magento\Sales\Model\Order
213+
* @return \Magento\Sales\Model\Service\OrderService
214214
* @throws \Magento\Framework\Exception\LocalizedException
215215
*/
216216
public function setState(

0 commit comments

Comments
 (0)