Skip to content

Commit beb0379

Browse files
authored
Merge pull request #40 from shulard/version/upgrade-to-v2
Move to php-http/httplug v2
2 parents b081c9d + 7773613 commit beb0379

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
],
1313
"require": {
1414
"php": "^7.1",
15-
"php-http/httplug": "^1.0",
15+
"php-http/httplug": "^2.0",
1616
"react/http-client": "~0.5.9",
1717
"react/dns": "^1.0|^0.4.15",
1818
"react/socket": "^1.0",
@@ -21,7 +21,7 @@
2121
"php-http/discovery": "^1.0"
2222
},
2323
"require-dev": {
24-
"php-http/client-integration-tests": "^0.6",
24+
"php-http/client-integration-tests": "^2.0",
2525
"php-http/message": "^1.0",
2626
"phpunit/phpunit": "^4.8.36 || ^5.4"
2727
},

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function __construct(
7979
/**
8080
* {@inheritdoc}
8181
*/
82-
public function sendRequest(RequestInterface $request)
82+
public function sendRequest(RequestInterface $request): ResponseInterface
8383
{
8484
$promise = $this->sendAsyncRequest($request);
8585

0 commit comments

Comments
 (0)