Permalink
Browse files

Remove overspecialized formatters from nl_NL provider

Refs #63, #95
  • Loading branch information...
1 parent a0fc7c2 commit 140b5d4d3f7bb81b300ad4f53fe5b11b45aa8dde @fzaninotto committed Jan 1, 2013
Showing with 60 additions and 89 deletions.
  1. +0 −29 src/Faker/Provider/nl_NL/Address.php
  2. +60 −60 src/Faker/Provider/nl_NL/Person.php
@@ -109,33 +109,4 @@ public function cityName()
{
return static::randomElement(static::$cityNames);
}
-
- /**
- * @see parent
- */
- public function address()
- {
- $address = parent::address();
- return preg_replace('/\\\n/', PHP_EOL, $address);
- }
-
- /**
- * Returns a NL latitude, roughly between 50.75 and 53.55
- *
- * @return float
- */
- public static function latitude()
- {
- return number_format(mt_rand(50750000, 53550000)/1000000, 6);
- }
-
- /**
- * Returns a NL longitude, roughly between 3.38 and 7.22
- *
- * @return float
- */
- public static function longitude()
- {
- return number_format(mt_rand(3380000, 7220000)/1000000, 6);
- }
}
Oops, something went wrong.

0 comments on commit 140b5d4

Please sign in to comment.