Skip to content

Commit 21d761d

Browse files
committed
Fix: change return types to previous state because test was not passed with interceptor type
1 parent ba16130 commit 21d761d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Sales/Helper/Guest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ private function setGuestViewCookie($cookieValue)
217217
* Load order from cookie
218218
*
219219
* @param string $fromCookie
220-
* @return \Magento\Sales\Model\Order\Interceptor
220+
* @return Order
221221
* @throws InputException
222222
* @throws CookieSizeLimitReachedException
223223
* @throws FailureToSendException
@@ -241,7 +241,7 @@ private function loadFromCookie($fromCookie)
241241
* Load order data from post
242242
*
243243
* @param array $postData
244-
* @return \Magento\Sales\Model\Order\Interceptor
244+
* @return Order
245245
* @throws InputException
246246
* @throws CookieSizeLimitReachedException
247247
* @throws FailureToSendException
@@ -296,7 +296,7 @@ private function hasPostDataEmptyFields(array $postData)
296296
* Get order by increment_id and store_id
297297
*
298298
* @param string $incrementId
299-
* @return array
299+
* @return \Magento\Sales\Api\Data\OrderInterface
300300
* @throws InputException
301301
*/
302302
private function getOrderRecord($incrementId)

0 commit comments

Comments
 (0)