Skip to content

Commit f63695a

Browse files
committed
MC-22215: Add customerCart Query and cart_id changes to schema and related resolvers
- Added customerQuery change for resolver
1 parent e1edbdf commit f63695a

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

app/code/Magento/QuoteGraphQl/Model/Resolver/MaskedCartId.php

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,43 +14,24 @@
1414
use Magento\Framework\GraphQl\Query\ResolverInterface;
1515
use Magento\Framework\GraphQl\Schema\Type\ResolveInfo;
1616
use Magento\Quote\Model\Quote;
17-
use Magento\Quote\Model\QuoteIdMaskFactory;
1817
use Magento\Quote\Model\QuoteIdToMaskedQuoteIdInterface;
19-
use Magento\Quote\Model\ResourceModel\Quote\QuoteIdMask as QuoteIdMaskResourceModel;
2018

2119
/**
2220
* Get cart id from the cart
2321
*/
2422
class MaskedCartId implements ResolverInterface
2523
{
26-
/**
27-
* @var QuoteIdMaskFactory
28-
*
29-
*/
30-
private $quoteIdMaskFactory;
31-
32-
/**
33-
* @var QuoteIdMaskResourceModel
34-
*/
35-
private $quoteIdMaskResourceModel;
36-
3724
/**
3825
* @var QuoteIdToMaskedQuoteIdInterface
3926
*/
4027
private $quoteIdToMaskedQuoteId;
4128

4229
/**
43-
* @param QuoteIdMaskFactory $quoteIdMaskFactory
44-
* @param QuoteIdMaskResourceModel $quoteIdMaskResourceModel
4530
* @param QuoteIdToMaskedQuoteIdInterface $quoteIdToMaskedQuoteId
4631
*/
4732
public function __construct(
48-
QuoteIdMaskFactory $quoteIdMaskFactory,
49-
QuoteIdMaskResourceModel $quoteIdMaskResourceModel,
5033
QuoteIdToMaskedQuoteIdInterface $quoteIdToMaskedQuoteId
5134
) {
52-
$this->quoteIdMaskFactory = $quoteIdMaskFactory;
53-
$this->quoteIdMaskResourceModel = $quoteIdMaskResourceModel;
5435
$this->quoteIdToMaskedQuoteId = $quoteIdToMaskedQuoteId;
5536
}
5637

0 commit comments

Comments
 (0)