File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -33,20 +33,20 @@ If you are upgrading from a pre-1.x version of this package, please keep the
3333 following things in mind:
3434
35351 . Update your composer.json file as follows:
36- ``` json
37- "toin0u/geocoder-laravel" : " ^1.0" ,
38- ```
36+ ``` json
37+ "toin0u/geocoder-laravel" : " ^1.0" ,
38+ ```
39392 . Remove your `config/geocoder.php` configuration file. (If you need to customize it, follow the configuration instructions below.)
40403 . Update the service provider entry in your `config/app.php` to read:
41- ``` php
42- Geocoder\Laravel\Providers\GeocoderService::class,
43- ```
41+ ```php
42+ Geocoder\Laravel\Providers\GeocoderService::class,
43+ ```
4444 Also make sure you remove any Geocoder alias in the aliases section of this file. (This package auto-registers the aliases.)
45454 . If you are using the facade in your code, update the `use` statements to the
4646 following:
47- ``` php
48- use use Geocoder\Laravel\Facades\Geocoder;
49- ```
47+ ```php
48+ use use Geocoder\Laravel\Facades\Geocoder;
49+ ```
5050 Alternatively you can replace the facades `Geocoder::` (and remove the corresponding `use`
5151 statements) with `app('geocoder')->`.
52525 . Update your query statements to use `->get()` (to retrieve a collection of
You can’t perform that action at this time.
0 commit comments