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

Commit

Permalink
sniffed & fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ronanguilloux committed Nov 30, 2014
1 parent 4c0afd6 commit b70f755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Faker/Provider/at_AT/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ class Payment extends \Faker\Provider\Payment
* @see http://www.iecomputersystems.com/ordering/eu_vat_numbers.htm
* @see http://en.wikipedia.org/wiki/VAT_identification_number
*
*
* @param bool $spacedNationalPrefix
*
* @return string VAT Number
*/
public static function vat($spacedNationalPrefix = true)
{
$prefix = ($spacedNationalPrefix) ? "AT U" : "ATU";

return sprintf("%s%d", $prefix, self::randomNumber(8, true));
}
}
}

0 comments on commit b70f755

Please sign in to comment.