Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
midnite81 committed Oct 29, 2020
1 parent 340aea4 commit 05d2cd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ your api key will be show. Please copy and set to your `.env` file on

# Example Usage

use Midnite81\GeoLocation\Contracts\Services\GeoLocation;
use Midnite81\GeoLocation\Contracts\Services\GeoLocationInterface;
use Illuminate\Http\Request;

public function index(GeoLocation $geo, Request $request)
public function index(GeoLocationInterface $geo, Request $request)
{
$ipLocation = $geo->getCity($request->ip());
Expand Down

0 comments on commit 05d2cd8

Please sign in to comment.