Skip to content

Commit d8b765b

Browse files
authored
Updated JCB card schema with new length
JCB cards can now be 16-19 digits long.
1 parent 847a9bc commit d8b765b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cards/Jcb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Jcb extends Card implements CreditCard
3232
*
3333
* @var array
3434
*/
35-
protected $number_length = [16];
35+
protected $number_length = [16, 17, 18, 19];
3636

3737
/**
3838
* CVC code length's.

0 commit comments

Comments
 (0)