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

Commit

Permalink
Merge pull request #1369 from madmanmax/master
Browse files Browse the repository at this point in the history
default value for Payment::iban() country code
  • Loading branch information
fzaninotto authored Nov 30, 2017
2 parents 561aeb7 + 43fe024 commit f1f1368
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit f1f1368

Please sign in to comment.