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

Used random number

This commit is contained in:
Abu Ashraf Masnun 2014-01-28 16:00:34 +06:00
parent 287f500eb8
commit 0ed5c80bae

View File

@ -9,9 +9,7 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber
public static function phoneNumber()
{
$number = "+880";
foreach (range(0, 7) as $num) {
$number .= static::randomDigit();
}
$number .= static::randomNumber(7);
return Utils::getBanglaNumber($number);
}