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

Commit

Permalink
Remove BC constructor change
Browse files Browse the repository at this point in the history
  • Loading branch information
pmclain committed Aug 5, 2019
1 parent 43def7c commit a08eaef
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

namespace Magento\QuoteGraphQl\Model\Cart;

use Magento\Framework\App\ObjectManager;
use Magento\Quote\Api\CartManagementInterface;
use Magento\Quote\Model\QuoteIdMask;
use Magento\Quote\Model\QuoteIdMaskFactory;
Expand Down Expand Up @@ -54,8 +53,7 @@ public function __construct(
$this->cartManagement = $cartManagement;
$this->quoteIdMaskFactory = $quoteIdMaskFactory;
$this->quoteIdMaskResourceModel = $quoteIdMaskResourceModel;
$this->quoteIdToMaskedQuoteId = $quoteIdToMaskedQuoteId ?? ObjectManager::getInstance()
->get(QuoteIdToMaskedQuoteIdInterface::class);
$this->quoteIdToMaskedQuoteId = $quoteIdToMaskedQuoteId;
}

/**
Expand Down

0 comments on commit a08eaef

Please sign in to comment.