@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | * {@inheritdoc} |
24 | 24 | * |
25 | 25 | * @param string $method HTTP method (GET, POST, PUT, etc.) |
26 | - * @param string|Url $url HTTP URL to connect to |
|
26 | + * @param string $url HTTP URL to connect to |
|
27 | 27 | * @param array $options Array of options to apply to the request |
28 | 28 | * |
29 | 29 | * @return RequestInterface |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * |
52 | 52 | * @param string $statusCode HTTP status code |
53 | 53 | * @param array $headers Response headers |
54 | - * @param mixed $body Response body |
|
54 | + * @param string $body Response body |
|
55 | 55 | * @param array $options Response options |
56 | 56 | * - protocol_version: HTTP protocol version |
57 | 57 | * - header_factory: Factory used to create headers |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | * {@inheritdoc} |
80 | 80 | * |
81 | 81 | * @link http://www.jsonrpc.org/specification#request_object |
82 | - * @param mixed $id |
|
82 | + * @param string $id |
|
83 | 83 | * @param string $method |
84 | 84 | * @param array $params |
85 | 85 | * @return RequestInterface |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | * {@inheritdoc} |
99 | 99 | * |
100 | 100 | * @param RequestInterface $request |
101 | - * @return ResponseInterface|null |
|
101 | + * @return \GuzzleHttp\Message\ResponseInterface|null |
|
102 | 102 | */ |
103 | 103 | public function send(RequestInterface $request) |
104 | 104 | { |