File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff line change 44
55use Http \Client \Tests \HttpFeatureTest ;
66use Http \Client \Socket \Client as SocketHttpClient ;
7+ use Psr \Http \Client \ClientInterface ;
78
89class SocketClientFeatureTest extends HttpFeatureTest
910{
10- protected function createClient ()
11+ protected function createClient (): ClientInterface
1112 {
1213 return new SocketHttpClient ();
1314 }
Original file line number Diff line number Diff line change 44
55use Http \Client \Tests \HttpClientTest ;
66use Http \Client \Socket \Client as SocketHttpClient ;
7+ use Psr \Http \Client \ClientInterface ;
78
89class SocketHttpAdapterTest extends HttpClientTest
910{
1011 /**
1112 * {@inheritdoc}
1213 */
13- protected function createHttpAdapter ()
14+ protected function createHttpAdapter (): ClientInterface
1415 {
1516 return new SocketHttpClient ();
1617 }
Original file line number Diff line number Diff line change 1- 32
1+ 34
You can’t perform that action at this time.
0 commit comments