Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

default value for Payment::iban() country code #1369

Merged
merged 1 commit into from
Nov 30, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Faker/Provider/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down