Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Fix misspelling in GetQuoteShippingAddressIdByReservedQuoteId #559

Closed
atwixfirster opened this issue Apr 1, 2019 · 1 comment
Closed
Assignees

Comments

@atwixfirster
Copy link
Contributor

Summary (*)

There is a misspelling error in the execute function

    /**
     * Get quote shipping address id by reserved order id
     *
     * @param string $reversedOrderId
     * @return int
     */
    public function execute(string $reversedOrderId): int
    {
        $quote = $this->quoteFactory->create();
        $this->quoteResource->load($quote, $reversedOrderId, 'reserved_order_id');

        return (int)$quote->getShippingAddress()->getId();
    }

Proposed solution

Replace $reversedOrderId with $reservedOrderId.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants