@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | /** |
77 | 77 | * @param RequestInterface $request |
78 | 78 | * @param array $options |
79 | - * @param ResponseInterface|PromiseInterface $response |
|
79 | + * @param ResponseInterface $response |
|
80 | 80 | * |
81 | 81 | * @return ResponseInterface|PromiseInterface |
82 | 82 | */ |
@@ -118,6 +118,10 @@ discard block |
||
118 | 118 | return $promise; |
119 | 119 | } |
120 | 120 | |
121 | + /** |
|
122 | + * @param string $uri |
|
123 | + * @param integer $statusCode |
|
124 | + */ |
|
121 | 125 | private function withTracking(PromiseInterface $promise, $uri, $statusCode) |
122 | 126 | { |
123 | 127 | return $promise->then( |