@@ -296,7 +296,7 @@ |
||
| 296 | 296 | /** |
| 297 | 297 | * Validate that the configuration fragment has the specified keys and none other. |
| 298 | 298 | * |
| 299 | - * @param array $expected Fields that must exist |
|
| 299 | + * @param string[] $expected Fields that must exist |
|
| 300 | 300 | * @param array $actual Actual configuration hashmap |
| 301 | 301 | * @param string $authName Name of authentication method for error messages |
| 302 | 302 | * |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | private $eventNames = []; |
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | - * @param HttpClient|HttpAsyncClient $client The client to profile. Client must implement both HttpClient and |
|
| 50 | + * @param FlexibleHttpClient $client The client to profile. Client must implement both HttpClient and |
|
| 51 | 51 | * HttpAsyncClient interfaces. |
| 52 | 52 | * @param Collector $collector |
| 53 | 53 | * @param Formatter $formatter |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use Http\Client\Exception\HttpException; |
| 7 | 7 | use Http\Client\HttpAsyncClient; |
| 8 | 8 | use Http\Client\HttpClient; |
| 9 | -use Http\Message\Formatter\CurlCommandFormatter; |
|
| 10 | 9 | use Psr\Http\Message\RequestInterface; |
| 11 | 10 | use Psr\Http\Message\ResponseInterface; |
| 12 | 11 | use Symfony\Component\Stopwatch\Stopwatch; |