@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | } |
85 | 85 | |
86 | 86 | /** |
87 | - * @return void |
|
87 | + * @return CurlHandle |
|
88 | 88 | */ |
89 | 89 | public function close():CurlHandleInterface{ |
90 | 90 | |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | } |
97 | 97 | |
98 | 98 | /** |
99 | - * @return void |
|
99 | + * @return CurlHandle |
|
100 | 100 | */ |
101 | 101 | public function reset():CurlHandleInterface{ |
102 | 102 |
@@ -68,6 +68,9 @@ |
||
68 | 68 | 50 => 'application verification failure', |
69 | 69 | ]; |
70 | 70 | |
71 | + /** |
|
72 | + * @return void |
|
73 | + */ |
|
71 | 74 | public function __construct(RequestInterface $request, ResponseInterface $response, SettingsContainerInterface $options); |
72 | 75 | |
73 | 76 | public function init():CurlHandleInterface; |
@@ -55,7 +55,7 @@ |
||
55 | 55 | $this->logger->error($e->getTraceAsString()); |
56 | 56 | |
57 | 57 | if(!$e instanceof ClientExceptionInterface){ |
58 | - throw new ClientException('unexpected exception, does not implement "ClientExceptionInterface": '.get_class($e)); // @codeCoverageIgnore |
|
58 | + throw new ClientException('unexpected exception, does not implement "ClientExceptionInterface": '.get_class($e)); // @codeCoverageIgnore |
|
59 | 59 | } |
60 | 60 | |
61 | 61 | /** @noinspection PhpUnhandledExceptionInspection */ |
@@ -32,6 +32,6 @@ |
||
32 | 32 | * @return \Psr\Http\Message\RequestInterface|null an optional replacement request if the previous request failed |
33 | 33 | * @internal |
34 | 34 | */ |
35 | - public function handleResponse(ResponseInterface $response, RequestInterface $request, int $id, array $curl_info):?RequestInterface; |
|
35 | + public function handleResponse(ResponseInterface $response, RequestInterface $request, int $id, array $curl_info): ?RequestInterface; |
|
36 | 36 | |
37 | 37 | } |