mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-03-22 00:09:59 +01:00
Hyperspace
Latitude goes from 90 degrees south to 90 degrees north. This crashed my iPhone app a couple of times :)
This commit is contained in:
parent
9fe1a478ad
commit
263bbfd9f4
@ -108,7 +108,7 @@ class Address extends \Faker\Provider\Base
|
||||
*/
|
||||
public static function latitude()
|
||||
{
|
||||
return number_format(mt_rand(-180000000, 180000000)/1000000, 6);
|
||||
return number_format(mt_rand(-90000000, 90000000)/1000000, 6);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user