@@ -167,7 +167,7 @@ public function credentialsChanged(
167
167
private function emailAndPasswordChanged (CustomerInterface $ customer , $ email )
168
168
{
169
169
$ storeId = $ customer ->getStoreId ();
170
- if (! $ storeId ) {
170
+ if ($ storeId === null ) {
171
171
$ storeId = $ this ->getWebsiteStoreId ($ customer );
172
172
}
173
173
@@ -193,7 +193,7 @@ private function emailAndPasswordChanged(CustomerInterface $customer, $email)
193
193
private function emailChanged (CustomerInterface $ customer , $ email )
194
194
{
195
195
$ storeId = $ customer ->getStoreId ();
196
- if (! $ storeId ) {
196
+ if ($ storeId === null ) {
197
197
$ storeId = $ this ->getWebsiteStoreId ($ customer );
198
198
}
199
199
@@ -218,7 +218,7 @@ private function emailChanged(CustomerInterface $customer, $email)
218
218
private function passwordReset (CustomerInterface $ customer )
219
219
{
220
220
$ storeId = $ customer ->getStoreId ();
221
- if (! $ storeId ) {
221
+ if ($ storeId === null ) {
222
222
$ storeId = $ this ->getWebsiteStoreId ($ customer );
223
223
}
224
224
@@ -317,7 +317,7 @@ private function getWebsiteStoreId($customer, $defaultStoreId = null)
317
317
public function passwordReminder (CustomerInterface $ customer )
318
318
{
319
319
$ storeId = $ customer ->getStoreId ();
320
- if (! $ storeId ) {
320
+ if ($ storeId === null ) {
321
321
$ storeId = $ this ->getWebsiteStoreId ($ customer );
322
322
}
323
323
@@ -341,7 +341,7 @@ public function passwordReminder(CustomerInterface $customer)
341
341
public function passwordResetConfirmation (CustomerInterface $ customer )
342
342
{
343
343
$ storeId = $ customer ->getStoreId ();
344
- if (! $ storeId ) {
344
+ if ($ storeId === null ) {
345
345
$ storeId = $ this ->getWebsiteStoreId ($ customer );
346
346
}
347
347
@@ -382,7 +382,7 @@ public function newAccount(
382
382
);
383
383
}
384
384
385
- if (! $ storeId ) {
385
+ if ($ storeId === null ) {
386
386
$ storeId = $ this ->getWebsiteStoreId ($ customer , $ sendemailStoreId );
387
387
}
388
388
0 commit comments