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

Commit 20e0aac

Browse files
committed
#1029 add @param and rename Data to DirectoryData
1 parent 66a17da commit 20e0aac

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/code/Magento/CustomerGraphQl/Model/Customer/Address/CreateCustomerAddress.php

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
use Magento\Customer\Api\AddressRepositoryInterface;
1111
use Magento\Customer\Api\Data\AddressInterface;
1212
use Magento\Customer\Api\Data\AddressInterfaceFactory;
13-
use Magento\Directory\Helper\Data;
13+
use Magento\Directory\Helper\Data as DirectoryData;
1414
use Magento\Framework\Api\DataObjectHelper;
1515
use Magento\Framework\Exception\LocalizedException;
1616
use Magento\Framework\GraphQl\Exception\GraphQlInputException;
@@ -40,7 +40,7 @@ class CreateCustomerAddress
4040
*/
4141
private $dataObjectHelper;
4242
/**
43-
* @var Data
43+
* @var DirectoryData
4444
*/
4545
private $directoryData;
4646

@@ -49,13 +49,14 @@ class CreateCustomerAddress
4949
* @param AddressInterfaceFactory $addressFactory
5050
* @param AddressRepositoryInterface $addressRepository
5151
* @param DataObjectHelper $dataObjectHelper
52+
* @param DirectoryData $directoryData
5253
*/
5354
public function __construct(
5455
GetAllowedAddressAttributes $getAllowedAddressAttributes,
5556
AddressInterfaceFactory $addressFactory,
5657
AddressRepositoryInterface $addressRepository,
5758
DataObjectHelper $dataObjectHelper,
58-
Data $directoryData
59+
DirectoryData $directoryData
5960
) {
6061
$this->getAllowedAddressAttributes = $getAllowedAddressAttributes;
6162
$this->addressFactory = $addressFactory;

0 commit comments

Comments
 (0)