You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -38,8 +38,8 @@ protected function assertValidHolder(): void
38
38
39
39
protectedfunctionassertValidNumber(): void
40
40
{
41
-
DomainException::assert(preg_match('/^[0-9]{13,19}$/', $this->number), "Card number should only contain digits with length between 13 and 19 characters.");
42
-
DomainException::assert(Luhn::check($this->number), "Number is not a valid credit card number.");
41
+
DomainException::assert(preg_match('/^[0-9\\*]{13,19}$/', $this->number), "Card number should only contain digits with length between 13 and 19 characters.");
42
+
// DomainException::assert(Luhn::check($this->number), "Number is not a valid credit card number.");
0 commit comments