Skip to content

Commit f64315e

Browse files
author
Krishna Kumar
committed
fixes for magento automation testing v3
1 parent 81cfc8a commit f64315e

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

app/code/Magento/LoginAsCustomerGraphQl/Model/LoginAsCustomer/CreateCustomerToken.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ class CreateCustomerToken
2424
/**
2525
* @var CustomerFactory
2626
*/
27-
private CustomerFactory $customerFactory;
27+
private $customerFactory;
2828

2929
/**
3030
* @var TokenFactory
3131
*/
32-
private TokenFactory $tokenModelFactory;
32+
private $tokenModelFactory;
3333

3434
/**
3535
* @var StoreManagerInterface
3636
*/
37-
private StoreManagerInterface $storeManager;
37+
private $storeManager;
3838

3939
/**
4040
* CreateCustomerToken constructor.

app/code/Magento/LoginAsCustomerGraphQl/Model/Resolver/RequestCustomerToken.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ public function __construct(
6767
* @param array|null $args
6868
* @return Value|mixed|void
6969
* @throws GraphQlAuthorizationException|GraphQlNoSuchEntityException|LocalizedException
70+
* @SuppressWarnings(PHPMD.UnusedLocalVariable)
7071
*/
7172
public function resolve(
7273
Field $field,

app/code/Magento/LoginAsCustomerGraphQl/composer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
"name": "magento/module-login-as-customer-graph-ql",
33
"description": "Flexible login as a customer so a merchant or merchant admin can log into an end customer's account to assist them with their account.",
44
"require": {
5-
"php": "~7.3.0||~7.4.0",
5+
"php": "~7.4.0",
66
"magento/framework": "102.0.*",
7-
"magento/module-customer": "103.0.*"
8-
},
9-
"suggest": {
10-
"magento/module-graph-ql": "100.3.*"
7+
"magento/module-customer": "103.0.*",
8+
"magento/module-catalog-graph-ql": "100.4.*",
9+
"magento/framework": "103.0.*"
1110
},
1211
"type": "magento2-module",
1312
"license": [

0 commit comments

Comments
 (0)