File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Provider/AlgoliaPlaces Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,14 +39,14 @@ $httpClient = new \Http\Adapter\Guzzle6\Client();
39
39
// Unauthenticated
40
40
$provider = new \Geocoder\Provider\AlgoliaPlaces\AlgoliaPlaces($httpClient);
41
41
// Authenticated
42
- $provider = new \Geocoder\Provider\AlgoliaPlaces\AlgoliaPlaces($httpClient, '<your-app-id >', '<your-key >');
42
+ $provider = new \Geocoder\Provider\AlgoliaPlaces\AlgoliaPlaces($httpClient, '<your-key >', '<your-app-id >');
43
43
44
44
$geocoder = new \Geocoder\StatefulGeocoder($provider, 'en');
45
45
46
- $result = $geocoder->geocodeQuery(GeocodeQuery::create('Paris')->withLocale('fr-FR));
46
+ $result = $geocoder->geocodeQuery(GeocodeQuery::create('Paris')->withLocale('fr-FR' ));
47
47
```
48
48
49
49
## Contribute
50
50
51
51
Contributions are very welcome! Send a pull request to the [ main repository] ( https://github.com/geocoder-php/Geocoder ) or
52
- report any issues you find on the [ issue tracker] ( https://github.com/geocoder-php/Geocoder/issues ) .
52
+ report any issues you find on the [ issue tracker] ( https://github.com/geocoder-php/Geocoder/issues ) .
You can’t perform that action at this time.
0 commit comments