Skip to content
Browse files

Update README to make the explicit bounds args more grokkable.

  • Loading branch information...
1 parent f621a40 commit a599381300cb0bc1fe0871b7130d6b9b437292cd @bobthecow committed Mar 23, 2013
Showing with 6 additions and 6 deletions.
  1. +6 −6 README.markdown
View
12 README.markdown
@@ -72,12 +72,12 @@ There are a few more to choose from:
\Faker\Geo::latitudeDMS(\Faker\Geo\SanFrancisco::bounds());
\Faker\Geo::longitudeDMS(\Faker\Geo\SaoPaulo::bounds());
-\Faker\Geo::point([[0, 45], [0, 90]]);
-\Faker\Geo::latitude([0, 45]);
-\Faker\Geo::longitude([0, 90]);
-\Faker\Geo::pointDMS([[0, 45], [0, 90]]);
-\Faker\Geo::latitudeDMS([0, 45]);
-\Faker\Geo::longitudeDMS([0, 90]);
+\Faker\Geo::point([[$swLat, $swLng], [$neLat, $neLng]]);
+\Faker\Geo::latitude([$latMin, $latMax]);
+\Faker\Geo::longitude([$lngMin, $lngMax]);
+\Faker\Geo::pointDMS([[$swLat, $swLng], [$neLat, $neLng]]);
+\Faker\Geo::latitudeDMS([$latMin, $latMax]);
+\Faker\Geo::longitudeDMS([$lngMin, $lngMax]);
\Faker\Geo\BuenosAires::point();
\Faker\Geo\Chicago::point();

0 comments on commit a599381

Please sign in to comment.
Something went wrong with that request. Please try again.