From d75986720e8700bc9e2411387f4f1eb1cce7b69a Mon Sep 17 00:00:00 2001 From: Lyzun Oleksandr Date: Fri, 14 Sep 2018 14:06:40 +0200 Subject: [PATCH] Code clean --- .../Model/Resolver/Customer/CustomerDataProvider.php | 3 +++ .../Magento/CustomerGraphQl/Model/Resolver/CustomerUpdate.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/code/Magento/CustomerGraphQl/Model/Resolver/Customer/CustomerDataProvider.php b/app/code/Magento/CustomerGraphQl/Model/Resolver/Customer/CustomerDataProvider.php index 39b23d1b23b24..4ca61e069df43 100644 --- a/app/code/Magento/CustomerGraphQl/Model/Resolver/Customer/CustomerDataProvider.php +++ b/app/code/Magento/CustomerGraphQl/Model/Resolver/Customer/CustomerDataProvider.php @@ -132,6 +132,8 @@ private function processCustomer(CustomerInterface $customerObject): array } /** + * Checking if password for customer is correct + * * @param string $password * @param int $customerId * @return bool @@ -143,3 +145,4 @@ public function isPasswordCorrect(string $password, int $customerId) return $this->encryptor->validateHash($password, $hash); } } + diff --git a/app/code/Magento/CustomerGraphQl/Model/Resolver/CustomerUpdate.php b/app/code/Magento/CustomerGraphQl/Model/Resolver/CustomerUpdate.php index b570767acaef3..8c1fb92339019 100644 --- a/app/code/Magento/CustomerGraphQl/Model/Resolver/CustomerUpdate.php +++ b/app/code/Magento/CustomerGraphQl/Model/Resolver/CustomerUpdate.php @@ -19,7 +19,7 @@ use Magento\Framework\GraphQl\Query\ResolverInterface; /** - * Customers field resolver, used for GraphQL request processing. + * Customers Update resolver */ class CustomerUpdate implements ResolverInterface {