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 2424namespace Mageplaza \CustomerAttributesGraphQl \Model \Resolver ;
2525
2626use Magento \Framework \Api \SearchResultsInterface ;
27- use Magento \Framework \GraphQl \Config \Element \Field ;
2827use Magento \Framework \GraphQl \Exception \GraphQlInputException ;
2928use Magento \Framework \GraphQl \Query \ResolverInterface ;
30- use Magento \Framework \GraphQl \Schema \Type \ResolveInfo ;
3129
3230/**
3331 * Class AbstractAttributes
Original file line number Diff line number Diff line change 2626use Magento \Framework \GraphQl \Config \Element \Field ;
2727use Magento \Framework \GraphQl \Query \Resolver \Argument \SearchCriteria \Builder as SearchCriteriaBuilder ;
2828use Magento \Framework \GraphQl \Schema \Type \ResolveInfo ;
29- use Mageplaza \CustomerAttributes \Helper \Data ;
3029use Mageplaza \CustomerAttributes \Model \AddressMetadata ;
3130use \Mageplaza \CustomerAttributesGraphQl \Model \Resolver \AbstractAttributes ;
3231
@@ -46,26 +45,18 @@ class CustomerAddressAttributes extends AbstractAttributes
4645 */
4746 protected $ customerAddressMetadata ;
4847
49- /**
50- * @var Data
51- */
52- protected $ helperData ;
53-
5448 /**
5549 * Attributes constructor.
5650 *
5751 * @param SearchCriteriaBuilder $searchCriteriaBuilder
5852 * @param AddressMetadata $customerAddressMetadata
59- * @param Data $helperData
6053 */
6154 public function __construct (
6255 SearchCriteriaBuilder $ searchCriteriaBuilder ,
63- AddressMetadata $ customerAddressMetadata ,
64- Data $ helperData
56+ AddressMetadata $ customerAddressMetadata
6557 ) {
6658 $ this ->searchCriteriaBuilder = $ searchCriteriaBuilder ;
6759 $ this ->customerAddressMetadata = $ customerAddressMetadata ;
68- $ this ->helperData = $ helperData ;
6960 }
7061
7162 /**
Original file line number Diff line number Diff line change 2626use Magento \Framework \GraphQl \Config \Element \Field ;
2727use Magento \Framework \GraphQl \Query \Resolver \Argument \SearchCriteria \Builder as SearchCriteriaBuilder ;
2828use Magento \Framework \GraphQl \Schema \Type \ResolveInfo ;
29- use Mageplaza \CustomerAttributes \Helper \Data ;
3029use Mageplaza \CustomerAttributes \Model \CustomerMetadata ;
3130use \Mageplaza \CustomerAttributesGraphQl \Model \Resolver \AbstractAttributes ;
3231
@@ -46,26 +45,18 @@ class CustomerAttributes extends AbstractAttributes
4645 */
4746 protected $ customerAttributeMetadata ;
4847
49- /**
50- * @var Data
51- */
52- protected $ helperData ;
53-
5448 /**
5549 * Attributes constructor.
5650 *
5751 * @param SearchCriteriaBuilder $searchCriteriaBuilder
5852 * @param CustomerMetadata $customerAttributeMetadata
59- * @param Data $helperData
6053 */
6154 public function __construct (
6255 SearchCriteriaBuilder $ searchCriteriaBuilder ,
63- CustomerMetadata $ customerAttributeMetadata ,
64- Data $ helperData
56+ CustomerMetadata $ customerAttributeMetadata
6557 ) {
6658 $ this ->searchCriteriaBuilder = $ searchCriteriaBuilder ;
6759 $ this ->customerAttributeMetadata = $ customerAttributeMetadata ;
68- $ this ->helperData = $ helperData ;
6960 }
7061
7162 /**
You can’t perform that action at this time.
0 commit comments