@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | * @param string $path |
| 80 | 80 | * @param array $parameters |
| 81 | 81 | * |
| 82 | - * @return Request |
|
| 82 | + * @return RequestInterface |
|
| 83 | 83 | */ |
| 84 | 84 | protected function createRequest($verb, $path, $parameters = []) |
| 85 | 85 | { |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | * |
| 176 | 176 | * @param ClientExceptionInterface $clientException |
| 177 | 177 | * |
| 178 | - * @return class |
|
| 178 | + * @return anonymous//src/Http.php@return class |
|
| 179 | 179 | */ |
| 180 | 180 | private function getRequestExceptionParts(ClientExceptionInterface $clientException) |
| 181 | 181 | { |
@@ -282,7 +282,7 @@ discard block |
||
| 282 | 282 | * Adds a given resource to multipart stream collection, to be processed by next request. |
| 283 | 283 | * |
| 284 | 284 | * @param string $name |
| 285 | - * @param resource|string|Psr\Http\Message\StreamInterface $resource |
|
| 285 | + * @param \Psr\Http\Message\StreamInterface $resource |
|
| 286 | 286 | * |
| 287 | 287 | * @return void |
| 288 | 288 | */ |
@@ -5,8 +5,8 @@ |
||
| 5 | 5 | use Exception; |
| 6 | 6 | use Psr\Http\Client\ClientExceptionInterface; |
| 7 | 7 | use Psr\Http\Client\ClientInterface; |
| 8 | -use Psr\Http\Message\RequestInterface; |
|
| 9 | 8 | use Psr\Http\Message\RequestFactoryInterface; |
| 9 | +use Psr\Http\Message\RequestInterface; |
|
| 10 | 10 | use Psr\Http\Message\StreamFactoryInterface; |
| 11 | 11 | |
| 12 | 12 | class Http |