| @@ -146,7 +146,7 @@ discard block | ||
| 146 | 146 | * | 
| 147 | 147 | * @param RequestInterface $request | 
| 148 | 148 | * @param array $options | 
| 149 | - * @return callable | |
| 149 | + * @return Closure | |
| 150 | 150 | */ | 
| 151 | 151 | protected function onFulfilled(RequestInterface $request, array $options): callable | 
| 152 | 152 |      { | 
| @@ -165,7 +165,7 @@ discard block | ||
| 165 | 165 | * | 
| 166 | 166 | * @param RequestInterface $request | 
| 167 | 167 | * @param array $options | 
| 168 | - * @return callable | |
| 168 | + * @return Closure | |
| 169 | 169 | */ | 
| 170 | 170 | protected function onRejected(RequestInterface $request, array $options): callable | 
| 171 | 171 |      { | 
| @@ -219,7 +219,7 @@ discard block | ||
| 219 | 219 | * 2. The number of attempts made thus far for this request | 
| 220 | 220 | * | 
| 221 | 221 | * @param array $options | 
| 222 | - * @param ResponseInterface|null $response | |
| 222 | + * @param ResponseInterface $response | |
| 223 | 223 | * @return bool TRUE if the response should be retried, FALSE if not | 
| 224 | 224 | */ | 
| 225 | 225 | protected function shouldRetryHttpResponse(array $options, ResponseInterface $response): bool |