Skip to content

Commit fcb8fd6

Browse files
authored
Expect a PSR-18 client instead of a PHP-HTTP client (#1110)
* Expect a PSR-18 client instead of a PHP-HTTP client * Update integration tests
1 parent 0bf9599 commit fcb8fd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/IntegrationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
use Geocoder\IntegrationTest\ProviderIntegrationTest;
1616
use Geocoder\Provider\GeoPlugin\GeoPlugin;
17-
use Http\Client\HttpClient;
17+
use Psr\Http\Client\ClientInterface;
1818

1919
/**
2020
* @author Tobias Nyholm <[email protected]>
@@ -25,7 +25,7 @@ class IntegrationTest extends ProviderIntegrationTest
2525

2626
protected $testReverse = false;
2727

28-
protected function createProvider(HttpClient $httpClient)
28+
protected function createProvider(ClientInterface $httpClient)
2929
{
3030
return new GeoPlugin($httpClient, $this->getApiKey());
3131
}

0 commit comments

Comments
 (0)