From a0f1c4ab81c2725fdd8d4e0246b8cd53638fd857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=BCnch?= Date: Fri, 24 Feb 2017 11:04:42 +0100 Subject: [PATCH] Add correct return type in order service The method return $this. I corrected the doc-block. --- app/code/Magento/Sales/Model/Service/OrderService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Sales/Model/Service/OrderService.php b/app/code/Magento/Sales/Model/Service/OrderService.php index d054fb4b87fa5..648ca2d795d44 100644 --- a/app/code/Magento/Sales/Model/Service/OrderService.php +++ b/app/code/Magento/Sales/Model/Service/OrderService.php @@ -210,7 +210,7 @@ public function place(\Magento\Sales\Api\Data\OrderInterface $order) * @param string $comment * @param bool $isCustomerNotified * @param bool $shouldProtectState - * @return \Magento\Sales\Model\Order + * @return \Magento\Sales\Model\Service\OrderService * @throws \Magento\Framework\Exception\LocalizedException */ public function setState(