Skip to content

Commit 9a182a9

Browse files
committed
Fix tests
1 parent 0243e0c commit 9a182a9

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"require-dev": {
1818
"friendsofphp/php-cs-fixer": "^2.2",
19-
"php-http/client-integration-tests": "^2.0",
19+
"php-http/client-integration-tests": "dev-master",
2020
"php-http/message": "^1.0",
2121
"php-http/client-common": "^2.0"
2222
},

tests/SocketClientFeatureTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44

55
use Http\Client\Tests\HttpFeatureTest;
66
use Http\Client\Socket\Client as SocketHttpClient;
7+
use Psr\Http\Client\ClientInterface;
78

89
class SocketClientFeatureTest extends HttpFeatureTest
910
{
10-
protected function createClient()
11+
protected function createClient(): ClientInterface
1112
{
1213
return new SocketHttpClient();
1314
}

tests/SocketHttpAdapterTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44

55
use Http\Client\Tests\HttpClientTest;
66
use Http\Client\Socket\Client as SocketHttpClient;
7+
use Psr\Http\Client\ClientInterface;
78

89
class SocketHttpAdapterTest extends HttpClientTest
910
{
1011
/**
1112
* {@inheritdoc}
1213
*/
13-
protected function createHttpAdapter()
14+
protected function createHttpAdapter(): ClientInterface
1415
{
1516
return new SocketHttpClient();
1617
}

tests/server/ssl/file.srl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
32
1+
34

0 commit comments

Comments
 (0)