1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-04-21 16:01:56 +02:00

Merge pull request #1530 from fostam/master

building numbers in Germany never start with a zero or are zero
This commit is contained in:
Andreas Möller 2019-08-27 22:15:44 +02:00 committed by GitHub
commit 2dab062242
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ namespace Faker\Provider\de_DE;
class Address extends \Faker\Provider\Address
{
protected static $buildingNumber = array('###', '##', '#', '#/#', '##[abc]', '#[abc]');
protected static $buildingNumber = array('%##', '%#', '%', '%/%', '%#[abc]', '%[abc]');
protected static $streetSuffixLong = array(
'Gasse', 'Platz', 'Ring', 'Straße', 'Weg', 'Allee'