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 #1083 from borgogelli/fix-unusedcode
Browse files Browse the repository at this point in the history
Fix unused code
  • Loading branch information
fzaninotto authored Jan 31, 2017
2 parents 1aec59f + 74a8613 commit 8c5d915
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/Faker/Provider/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,25 +265,11 @@ public static function iban($countryCode, $prefix = '', $length = null)
}
}

$result = static::addBankCodeChecksum($result, $countryCode);

$checksum = Iban::checksum($countryCode . '00' . $result);

return $countryCode . $checksum . $result;
}

/**
* Calculates a checksum for the national bank and branch code part in the IBAN.
*
* @param string $iban randomly generated $iban
* @param string $countryCode ISO 3166-1 alpha-2 country code
* @return string IBAN with one character altered to a proper checksum
*/
protected static function addBankCodeChecksum($iban, $countryCode = '')
{
return $iban;
}

/**
* Return the String of a SWIFT/BIC number
*
Expand Down

0 comments on commit 8c5d915

Please sign in to comment.