1
0
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:
wmeldon 2013-10-21 14:38:25 -04:00
parent 2355fcf8d1
commit 7644165a46

View File

@ -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]);