We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9221e6e commit fda71afCopy full SHA for fda71af
app/code/Magento/Customer/Model/EmailNotification.php
@@ -362,7 +362,7 @@ public function passwordResetConfirmation(CustomerInterface $customer)
362
* @param CustomerInterface $customer
363
* @param string $type
364
* @param string $backUrl
365
- * @param int $storeId
+ * @param int|null $storeId
366
* @param string $sendemailStoreId
367
* @return void
368
* @throws LocalizedException
@@ -371,7 +371,7 @@ public function newAccount(
371
CustomerInterface $customer,
372
$type = self::NEW_ACCOUNT_EMAIL_REGISTERED,
373
$backUrl = '',
374
- $storeId = 0,
+ $storeId = null,
375
$sendemailStoreId = null
376
) {
377
$types = self::TEMPLATE_TYPES;
0 commit comments