Skip to content

Commit

Permalink
Merge pull request #5 from storefront-x/feature/PX-1510_update
Browse files Browse the repository at this point in the history
PX-1510 Fixed: update parameters in CustomerRegistryPlugin
  • Loading branch information
bogdanwalek authored Sep 14, 2023
2 parents 54b645a + 6ffae89 commit 6ab6aa6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Plugin/CustomerRegistryPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,13 @@ public function __construct(
*
* @param CustomerRegistry $subject
* @param Customer $result
* @param string $customerEmail Customers email address
* @param string|null $websiteId Optional website ID, if not set, will use the current websiteId
*
* @return Customer
* @throws NoSuchEntityException
*/
public function afterRetrieveByEmail(
CustomerRegistry $subject,
Customer $result,
string $customerEmail,
?string $websiteId
): Customer {
if ($storeId = $this->storeManager->getStore()->getId()) {
Expand Down

0 comments on commit 6ab6aa6

Please sign in to comment.