Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
Expect a PSR-18 client instead of a PHP-HTTP client (#1110)
Browse files Browse the repository at this point in the history
* Expect a PSR-18 client instead of a PHP-HTTP client

* Update integration tests
  • Loading branch information
JaZo committed Jul 30, 2022
1 parent 96d4177 commit aca5473
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/IntegrationTest.php
Expand Up @@ -14,7 +14,7 @@

use Geocoder\IntegrationTest\ProviderIntegrationTest;
use Geocoder\Provider\Geoip\Geoip;
use Http\Client\HttpClient;
use Psr\Http\Client\ClientInterface;

/**
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
Expand All @@ -36,7 +36,7 @@ protected function setUp(): void
}
}

protected function createProvider(HttpClient $httpClient)
protected function createProvider(ClientInterface $httpClient)
{
return new Geoip();
}
Expand Down

0 comments on commit aca5473

Please sign in to comment.