Skip to content

Commit 350cab5

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 28c2963 commit 350cab5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/IntegrationTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

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

1919
/**
2020
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
@@ -45,7 +45,7 @@ public static function setUpBeforeClass(): void
4545
parent::setUpBeforeClass();
4646
}
4747

48-
protected function createProvider(HttpClient $httpClient)
48+
protected function createProvider(ClientInterface $httpClient)
4949
{
5050
return new MaxMindBinary(__DIR__.'/fixtures/GeoLiteCity.dat');
5151
}

0 commit comments

Comments
 (0)