Skip to content

Commit 3a4cfa1

Browse files
#28570: createCustomer does not match validation requirements (static test fix)
1 parent 592f5de commit 3a4cfa1

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

app/code/Magento/CustomerGraphQl/Model/Resolver/UpdateCustomerEmail.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use Magento\CustomerGraphQl\Model\Customer\UpdateCustomerAccount;
1313
use Magento\Framework\GraphQl\Config\Element\Field;
1414
use Magento\Framework\GraphQl\Exception\GraphQlAuthorizationException;
15+
use Magento\Framework\GraphQl\Query\Resolver\Value;
1516
use Magento\Framework\GraphQl\Query\ResolverInterface;
1617
use Magento\Framework\GraphQl\Schema\Type\ResolveInfo;
1718
use Magento\GraphQl\Model\Query\ContextInterface;
@@ -52,7 +53,16 @@ public function __construct(
5253
}
5354

5455
/**
55-
* Resolves customer email update mutation
56+
* Resolve customer email update mutation
57+
*
58+
* @param \Magento\Framework\GraphQl\Config\Element\Field $field
59+
* @param \Magento\Framework\GraphQl\Query\Resolver\ContextInterface $context
60+
* @param ResolveInfo $info
61+
* @param array|null $value
62+
* @param array|null $args
63+
* @return array|Value
64+
* @throws \Exception
65+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
5666
*/
5767
public function resolve(
5868
Field $field,

0 commit comments

Comments
 (0)