geocoder-php/GeocoderLaravel

Simple IP lookup generates error

Closed this issue · 3 comments

I get the following error:

 Missing argument 2 for Alexpechkarev\GoogleGeocoder\GoogleGeocoder::geocode(), called in /home/vagrant/Projects/athliit/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 210 and defined

When I try to do:

Geocoder::geocode('my-ip-address');

With my config looking like so:

<?php

return [
    // Providers get called in the chain order given here.
    // The first one to return a result will be used.
    'providers' => [
        'Geocoder\Provider\FreeGeoIpProvider'  => null,
    ],
    'adapter'  => 'Geocoder\HttpAdapter\CurlHttpAdapter',
];

I don't see this as an issue reference an old issue #13 with that address it works as expected.

Recently updated my GitHub notifications settings, must say I do enjoy messages showing constant issue pruning :)

I'm trying :) hehe