mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-03-19 23:09:47 +01:00
Fixed call to undefined method cardType
in Payment
This commit is contained in:
parent
2355fcf8d1
commit
7644165a46
@ -72,7 +72,7 @@ class Payment extends Base
|
||||
public static function creditCardNumber($type = null, $formatted = false, $separator = '-')
|
||||
{
|
||||
if (is_null($type)) {
|
||||
$type = static::cardType();
|
||||
$type = static::creditCardType();
|
||||
}
|
||||
$mask = static::randomElement(static::$cardParams[$type]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user