Skip to content

Commit 71ea178

Browse files
authored
[Nominatim] Update Readme.md (#1062)
Fix path for provider in the example
1 parent 41bb0cf commit 71ea178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Provider/Nominatim/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ composer require geocoder-php/nominatim-provider
2323
If you want to use the "default" Nominatim instance (https://nominatim.openstreetmap.org/) :
2424

2525
```php
26-
$provider = \Geocoder\Provider\Nominatim::withOpenStreetMapServer($httpClient, $userAgent);
26+
$provider = \Geocoder\Provider\Nominatim\Nominatim::withOpenStreetMapServer($httpClient, $userAgent);
2727
```
2828

2929
If you want to specify yourself the server that will be used :

0 commit comments

Comments
 (0)