1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-03-25 17:59:47 +01:00

fixed should not concatenate

This commit is contained in:
Hugo Fonseca 2014-04-16 11:15:48 +01:00
parent 37027f4768
commit 9fd4707d11

View File

@ -37,14 +37,14 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber
);
protected static $mobileNumberPrefixes = array(
'91',
'92',
'93',
'96',
'91#########',
'92#########',
'93#########',
'96#########',
);
public static function mobileNumber()
{
return static::numerify(static::randomElement(static::$mobileNumberPrefixes).'#######');
return static::numerify(static::randomElement(static::$mobileNumberPrefixes));
}
}