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