Skip to content

Commit 8780dcf

Browse files
committed
Fixes for failing static tests
1 parent 79f2f77 commit 8780dcf

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ public function resolve(
5555
throw new GraphQlInputException(__('"input" value should be specified'));
5656
}
5757

58-
$customer = $this->createCustomerAccount->execute($args['input'], $context->getExtensionAttributes()->getStore());
58+
$customer = $this->createCustomerAccount->execute(
59+
$args['input'],
60+
$context->getExtensionAttributes()->getStore()
61+
);
5962

6063
$data = $this->extractCustomerData->execute($customer);
6164
return ['customer' => $data];

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ public function resolve(
7272
}
7373

7474
$customer = $this->getCustomer->execute($context);
75-
$this->updateCustomerAccount->execute($customer, $args['input'], $context->getExtensionAttributes()->getStore());
75+
$this->updateCustomerAccount->execute(
76+
$customer,
77+
$args['input'], $context->getExtensionAttributes()->getStore()
78+
);
7679

7780
$data = $this->extractCustomerData->execute($customer);
7881
return ['customer' => $data];

0 commit comments

Comments
 (0)