Skip to content

Commit 1c30336

Browse files
committed
#271: [My Account] Code style fixes
1 parent 7ca7acc commit 1c30336

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

app/code/Magento/CustomerGraphQl/Model/Customer/GetAllowedCustomerAttributes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function __construct(
6666
* Get allowed customer attributes
6767
*
6868
* @param array $attributeKeys
69-
* @param $addRequiredAttributes
69+
* @param bool $addRequiredAttributes
7070
*
7171
* @throws GraphQlInputException
7272
*

app/code/Magento/CustomerGraphQl/Model/Customer/UpdateCustomerAccount.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ public function execute(CustomerInterface $customer, array $data): void
113113
throw new GraphQlNoSuchEntityException(__($exception->getMessage()), $exception);
114114
}
115115

116-
117116
$this->saveCustomer->execute($customer);
118117

119118
if (isset($data['is_subscribed'])) {

app/code/Magento/CustomerGraphQl/Model/Customer/ValidateCustomerData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __construct(GetAllowedCustomerAttributes $getAllowedCustomerAttr
3535
* Validate customer data
3636
*
3737
* @param array $customerData
38-
* @param $addRequiredAttributes
38+
* @param bool $addRequiredAttributes
3939
*
4040
* @return void
4141
*

0 commit comments

Comments
 (0)