Skip to content

Commit 15dd648

Browse files
Readme updated
1 parent a0a90c9 commit 15dd648

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,13 @@ $city = 'Gent';
3030
$zip = '1';
3131
$country = 'belgium';
3232

33-
$result = Geolocation::getCoordinates($street, $streetNumber, $city, $zip, $country);
33+
$result = Geolocation::getCoordinates(
34+
$street,
35+
$streetNumber,
36+
$city,
37+
$zip,
38+
$country
39+
);
3440
```
3541

3642
**getAddress**
@@ -41,7 +47,10 @@ $result = Geolocation::getCoordinates($street, $streetNumber, $city, $zip, $coun
4147
$latitude = 51.0363935;
4248
$longitude = 3.7121008;
4349

44-
$result = Geolocation::getAddress($latitude, $longitude);
50+
$result = Geolocation::getAddress(
51+
$latitude,
52+
$longitude
53+
);
4554
```
4655

4756
Check [the Geolocation class source](./src/Geolocation.php) or [view examples](./examples/example.php).

0 commit comments

Comments
 (0)