updated-packages
This commit is contained in:
@@ -279,7 +279,7 @@ class CreditCard extends AbstractValidator
|
||||
$foundl = false;
|
||||
foreach ($types as $type) {
|
||||
foreach ($this->cardType[$type] as $prefix) {
|
||||
if (substr($value, 0, strlen($prefix)) == $prefix) {
|
||||
if (0 === strpos($value, $prefix)) {
|
||||
$foundp = true;
|
||||
if (in_array($length, $this->cardLength[$type])) {
|
||||
$foundl = true;
|
||||
|
Reference in New Issue
Block a user