@@ -83,7 +83,7 @@ |
||
| 83 | 83 | * Creates a cookie from a string. |
| 84 | 84 | * |
| 85 | 85 | * @param RequestInterface $request |
| 86 | - * @param $setCookie |
|
| 86 | + * @param string $setCookie |
|
| 87 | 87 | * |
| 88 | 88 | * @return Cookie|null |
| 89 | 89 | */ |
@@ -117,7 +117,7 @@ |
||
| 117 | 117 | * @param Plugin[] $pluginList A list of plugins |
| 118 | 118 | * @param callable $clientCallable Callable making the HTTP call |
| 119 | 119 | * |
| 120 | - * @return callable |
|
| 120 | + * @return \Closure |
|
| 121 | 121 | */ |
| 122 | 122 | private function createPluginChain($pluginList, callable $clientCallable) |
| 123 | 123 | { |
@@ -29,7 +29,6 @@ |
||
| 29 | 29 | * - replace: bool True will replace all hosts, false will only add host when none is specified. |
| 30 | 30 | * |
| 31 | 31 | * @param UriInterface $baseUri |
| 32 | - * @param bool $replace |
|
| 33 | 32 | */ |
| 34 | 33 | public function __construct(UriInterface $baseUri, array $config = []) |
| 35 | 34 | { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Http\Client\Plugin; |
| 4 | 4 | |
| 5 | -use Http\Promise\Promise; |
|
| 6 | 5 | use Psr\Http\Message\RequestInterface; |
| 7 | 6 | use Psr\Http\Message\UriInterface; |
| 8 | 7 | use Symfony\Component\OptionsResolver\OptionsResolver; |