Closed josuedor closed 5 years ago
$this->validate($request, [ 'credit_card_expiration_date' => ['required', new CardExpirationDate('Y-m')] ]);
When insert 2020/13, 2020/14 ..., until 2020/99 passes the validation.
Regards.
When insert 2020/13, 2020/14 ..., until 2020/99 passes the validation.
Regards.