Skip to content

Commit 815c90f

Browse files
authored
Update README.md
1 parent 8ce655c commit 815c90f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff 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

3535
1. 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+
```
3939
2. Remove your `config/geocoder.php` configuration file. (If you need to customize it, follow the configuration instructions below.)
4040
3. 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.)
4545
4. 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')->`.
5252
5. Update your query statements to use `->get()` (to retrieve a collection of

0 commit comments

Comments
 (0)