review: addressing

This commit is contained in:
Binyamin Yawitz
2024-09-05 18:06:41 -04:00
parent 439e42e1ab
commit 557eefe2c4
5 changed files with 12 additions and 15 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ class MockNumber extends Validator
return false;
}
$otp = new Text(6, 6, Validator\Text::NUMBERS);
$otp = new Text(6, 6, Text::NUMBERS);
if (!$otp->isValid($value['otp'])) {
$this->message = 'Invalid OTP. Please make sure the OTP is a 6 digit number';
return false;