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 78bb169 commit f44add2Copy full SHA for f44add2
app/code/Magento/Customer/Model/ForgotPasswordToken/GetCustomerByToken.php
@@ -73,7 +73,7 @@ public function execute(string $resetPasswordToken):CustomerInterface
73
}
74
if ($found->getTotalCount() === 0) {
75
//Customer with such token not found.
76
- new NoSuchEntityException(
+ throw new NoSuchEntityException(
77
new Phrase(
78
'No such entity with rp_token = %value',
79
[
0 commit comments