Skip to content

Commit

Permalink
magento#28570: createCustomer does not match validation requirements …
Browse files Browse the repository at this point in the history
…(static test fix)
  • Loading branch information
michalderlatka committed Jul 13, 2020
1 parent 592f5de commit 3a4cfa1
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
use Magento\CustomerGraphQl\Model\Customer\UpdateCustomerAccount;
use Magento\Framework\GraphQl\Config\Element\Field;
use Magento\Framework\GraphQl\Exception\GraphQlAuthorizationException;
use Magento\Framework\GraphQl\Query\Resolver\Value;
use Magento\Framework\GraphQl\Query\ResolverInterface;
use Magento\Framework\GraphQl\Schema\Type\ResolveInfo;
use Magento\GraphQl\Model\Query\ContextInterface;
Expand Down Expand Up @@ -52,7 +53,16 @@ public function __construct(
}

/**
* Resolves customer email update mutation
* Resolve customer email update mutation
*
* @param \Magento\Framework\GraphQl\Config\Element\Field $field
* @param \Magento\Framework\GraphQl\Query\Resolver\ContextInterface $context
* @param ResolveInfo $info
* @param array|null $value
* @param array|null $args
* @return array|Value
* @throws \Exception
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function resolve(
Field $field,
Expand Down

0 comments on commit 3a4cfa1

Please sign in to comment.