From 7644165a464865cab199276a8c03661dbe1a4f57 Mon Sep 17 00:00:00 2001 From: wmeldon Date: Mon, 21 Oct 2013 14:38:25 -0400 Subject: [PATCH] Fixed call to undefined method `cardType` in Payment --- src/Faker/Provider/Payment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Faker/Provider/Payment.php b/src/Faker/Provider/Payment.php index 5a017922..1847fd14 100644 --- a/src/Faker/Provider/Payment.php +++ b/src/Faker/Provider/Payment.php @@ -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]);