Skip to content

Commit

Permalink
Merge branch 'master' of github.com:geocoder-php/GeocoderLaravel
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebronner committed Jun 20, 2020
2 parents 47665e4 + 0c7e3d8 commit 41f22b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ database:
],
```

Finally, configure Geocoder for Laraver to use this store. Edit
Finally, configure Geocoder for Laravel to use this store. Edit
`config/geocoder.php`:
```php
"cache" => [
Expand All @@ -108,7 +108,7 @@ You can disable caching on a query-by-query basis as needed, like so:
If you are upgrading and have previously published the geocoder config file, you
need to add the `cache-duration` variable, otherwise cache will be disabled
(it will default to a `0` cache duration). The default cache duration provided
by the config file is `999999999` minutes, essentially forever.
by the config file is `999999999` seconds, essentially forever.

By default, the configuration specifies a Chain provider, containing the
GoogleMaps provider for addresses as well as reverse lookups with lat/long,
Expand Down Expand Up @@ -161,7 +161,7 @@ return [
'providers' => [
Chain::class => [
GoogleMaps::class => [
env('GOOGLE_MAPS_LOCALE', 'en-US'),
env('GOOGLE_MAPS_LOCALE', 'us'),
env('GOOGLE_MAPS_API_KEY'),
],
GeoPlugin::class => [],
Expand Down
4 changes: 2 additions & 2 deletions config/geocoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
| Cache Duration
|-----------------------------------------------------------------------
|
| Specify the cache duration in minutes. The default approximates a
| Specify the cache duration in seconds. The default approximates a
| "forever" cache, but there are certain issues with Laravel's forever
| caching methods that prevent us from using them in this project.
|
Expand Down Expand Up @@ -58,7 +58,7 @@
'providers' => [
Chain::class => [
GoogleMaps::class => [
env('GOOGLE_MAPS_LOCALE', 'en-US'),
env('GOOGLE_MAPS_LOCALE', 'us'),
env('GOOGLE_MAPS_API_KEY'),
],
GeoPlugin::class => [],
Expand Down

0 comments on commit 41f22b3

Please sign in to comment.