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:
parent
37027f4768
commit
9fd4707d11
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user