Skip to content

Commit d7f1b18

Browse files
gmponosdbu
authored andcommitted
Remove exception docblock (#151)
1 parent a11f1e3 commit d7f1b18

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

src/HttpClient.php

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,13 @@
33
namespace Http\Client;
44

55
use Psr\Http\Client\ClientInterface;
6-
use Psr\Http\Message\RequestInterface;
7-
use Psr\Http\Message\ResponseInterface;
86

97
/**
10-
* Sends a PSR-7 Request and returns a PSR-7 response.
8+
* {@inheritdoc}
119
*
12-
* @author GeLo <[email protected]>
13-
* @author Márk Sági-Kazár <[email protected]>
14-
* @author David Buchmann <[email protected]>
10+
* Provide the Httplug HttpClient interface for BC.
11+
* You should typehint Psr\Http\Client\ClientInterface in new code
1512
*/
1613
interface HttpClient extends ClientInterface
1714
{
18-
/**
19-
* Sends a PSR-7 request.
20-
*
21-
* @throws \Http\Client\Exception If an error happens during processing the request.
22-
* @throws \Exception If processing the request is impossible (eg. bad configuration).
23-
*/
24-
public function sendRequest(RequestInterface $request): ResponseInterface;
2515
}

0 commit comments

Comments
 (0)