From 43fe0249bbdb0cec13e93fb6973b5b2e4425d590 Mon Sep 17 00:00:00 2001 From: Max Nedelcu Date: Thu, 30 Nov 2017 16:45:07 +0100 Subject: [PATCH] default value for Payment::iban() country code --- 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 27ce838c08..db8f14b178 100644 --- a/src/Faker/Provider/Payment.php +++ b/src/Faker/Provider/Payment.php @@ -222,7 +222,7 @@ public function creditCardDetails($valid = true) * @param integer $length total length without country code and 2 check digits * @return string */ - public static function iban($countryCode, $prefix = '', $length = null) + public static function iban($countryCode = null, $prefix = '', $length = null) { $countryCode = is_null($countryCode) ? self::randomKey(self::$ibanFormats) : strtoupper($countryCode);