@@ -39,22 +39,22 @@ If you are upgrading from a pre-1.x version of this package, please keep the
3939 ```
4040
41412 . Remove your `config/geocoder.php` configuration file. (If you need to customize it, follow the configuration instructions below.)
42- 3 . Update the service provider entry in your `config/app.php` to read:
42+ 3 . Remove any Geocoder alias in the aliases section of your `config/app.php`. (This package auto-registers the aliases.)
43+ 4 . Update the service provider entry in your `config/app.php` to read:
4344
4445```php
4546Geocoder\Laravel\Providers\GeocoderService::class,
4647 ```
4748
48- Also make sure youremove any Geocoder alias inthe aliases section of this file. (This package auto-registers the aliases.)
49- 4 . If you are using thefacade in your code, update the `use` statements to the
50- following:
49+ 5 . If youare using the facade inyour code, you have two options:
50+ 1 . Replace thefacades `Geocoder::` (and remove thecorresponding `use` statements) with `app('geocoder')->`.
51+ 2 . Update the `use` statements to the following:
5152
5253```php
5354use use Geocoder\Laravel\Facades\Geocoder;
5455 ```
55-
56- Alternatively you can replace the facades `Geocoder::` (and remove the corresponding `use` statements) with `app('geocoder')->`.
57- 5 . Update your query statements to use `->get()` (to retrieve a collection of
56+
57+ 6 . Update your query statements to use `->get()` (to retrieve a collection of
5858GeoCoder objects) or `->all()` (to retrieve an array of arrays), then iterate
5959to process each result.
6060