File tree Expand file tree Collapse file tree 3 files changed +2
-22
lines changed Expand file tree Collapse file tree 3 files changed +2
-22
lines changed Original file line number Diff line number Diff line change 24
24
namespace Mageplaza \CustomerAttributesGraphQl \Model \Resolver ;
25
25
26
26
use Magento \Framework \Api \SearchResultsInterface ;
27
- use Magento \Framework \GraphQl \Config \Element \Field ;
28
27
use Magento \Framework \GraphQl \Exception \GraphQlInputException ;
29
28
use Magento \Framework \GraphQl \Query \ResolverInterface ;
30
- use Magento \Framework \GraphQl \Schema \Type \ResolveInfo ;
31
29
32
30
/**
33
31
* Class AbstractAttributes
Original file line number Diff line number Diff line change 26
26
use Magento \Framework \GraphQl \Config \Element \Field ;
27
27
use Magento \Framework \GraphQl \Query \Resolver \Argument \SearchCriteria \Builder as SearchCriteriaBuilder ;
28
28
use Magento \Framework \GraphQl \Schema \Type \ResolveInfo ;
29
- use Mageplaza \CustomerAttributes \Helper \Data ;
30
29
use Mageplaza \CustomerAttributes \Model \AddressMetadata ;
31
30
use \Mageplaza \CustomerAttributesGraphQl \Model \Resolver \AbstractAttributes ;
32
31
@@ -46,26 +45,18 @@ class CustomerAddressAttributes extends AbstractAttributes
46
45
*/
47
46
protected $ customerAddressMetadata ;
48
47
49
- /**
50
- * @var Data
51
- */
52
- protected $ helperData ;
53
-
54
48
/**
55
49
* Attributes constructor.
56
50
*
57
51
* @param SearchCriteriaBuilder $searchCriteriaBuilder
58
52
* @param AddressMetadata $customerAddressMetadata
59
- * @param Data $helperData
60
53
*/
61
54
public function __construct (
62
55
SearchCriteriaBuilder $ searchCriteriaBuilder ,
63
- AddressMetadata $ customerAddressMetadata ,
64
- Data $ helperData
56
+ AddressMetadata $ customerAddressMetadata
65
57
) {
66
58
$ this ->searchCriteriaBuilder = $ searchCriteriaBuilder ;
67
59
$ this ->customerAddressMetadata = $ customerAddressMetadata ;
68
- $ this ->helperData = $ helperData ;
69
60
}
70
61
71
62
/**
Original file line number Diff line number Diff line change 26
26
use Magento \Framework \GraphQl \Config \Element \Field ;
27
27
use Magento \Framework \GraphQl \Query \Resolver \Argument \SearchCriteria \Builder as SearchCriteriaBuilder ;
28
28
use Magento \Framework \GraphQl \Schema \Type \ResolveInfo ;
29
- use Mageplaza \CustomerAttributes \Helper \Data ;
30
29
use Mageplaza \CustomerAttributes \Model \CustomerMetadata ;
31
30
use \Mageplaza \CustomerAttributesGraphQl \Model \Resolver \AbstractAttributes ;
32
31
@@ -46,26 +45,18 @@ class CustomerAttributes extends AbstractAttributes
46
45
*/
47
46
protected $ customerAttributeMetadata ;
48
47
49
- /**
50
- * @var Data
51
- */
52
- protected $ helperData ;
53
-
54
48
/**
55
49
* Attributes constructor.
56
50
*
57
51
* @param SearchCriteriaBuilder $searchCriteriaBuilder
58
52
* @param CustomerMetadata $customerAttributeMetadata
59
- * @param Data $helperData
60
53
*/
61
54
public function __construct (
62
55
SearchCriteriaBuilder $ searchCriteriaBuilder ,
63
- CustomerMetadata $ customerAttributeMetadata ,
64
- Data $ helperData
56
+ CustomerMetadata $ customerAttributeMetadata
65
57
) {
66
58
$ this ->searchCriteriaBuilder = $ searchCriteriaBuilder ;
67
59
$ this ->customerAttributeMetadata = $ customerAttributeMetadata ;
68
- $ this ->helperData = $ helperData ;
69
60
}
70
61
71
62
/**
You can’t perform that action at this time.
0 commit comments