Skip to content

Commit 5ad1fa5

Browse files
committed
PWA-806: Localize emails sent through GraphQL application
- Fix static issues
1 parent f2bae07 commit 5ad1fa5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

app/code/Magento/StoreGraphQl/Plugin/LocalizeEmail.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
<?php
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
26

37
namespace Magento\StoreGraphQl\Plugin;
48

@@ -61,6 +65,7 @@ public function __construct(
6165
* @param \Closure $proceed
6266
* @return mixed
6367
* @throws NoSuchEntityException|LocalizedException
68+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
6469
*/
6570
public function aroundGetTransport(TransportBuilder $subject, \Closure $proceed)
6671
{

dev/tests/integration/testsuite/Magento/CustomerGraphQl/Model/Resolver/CreateCustomerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public function testCreateCustomerForStoreSendsTranslatedEmail()
197197
}
198198
}
199199
}
200-
QUERY;
200+
QUERY;Magento/StoreGraphQl/Plugin/LocalizeEmail.php
201201

202202
$response = $this->graphQlRequest->send(
203203
$query,

0 commit comments

Comments
 (0)