← All changes
|
includes/sdk/google/guzzlehttp/guzzle/src/Handler/EasyHandle.php
+7
-7
1.2.4
→
1.4.2
View file →
| @@ -1,13 +1,13 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -namespace Dudlewebs\WPMCS\GuzzleHttp\Handler; | |
| 3 | +namespace Dudlewebs\WPMCS\GCP\GuzzleHttp\Handler; | |
| 4 | 4 | |
| 5 | -use Dudlewebs\WPMCS\GuzzleHttp\Psr7\Response; | |
| 6 | -use Dudlewebs\WPMCS\GuzzleHttp\Utils; | |
| 7 | -use Dudlewebs\WPMCS\Psr\Http\Message\RequestInterface; | |
| 8 | -use Dudlewebs\WPMCS\Psr\Http\Message\ResponseInterface; | |
| 9 | -use Dudlewebs\WPMCS\Psr\Http\Message\StreamInterface; | |
| 5 | +use Dudlewebs\WPMCS\GCP\GuzzleHttp\Psr7\Response; | |
| 6 | +use Dudlewebs\WPMCS\GCP\GuzzleHttp\Utils; | |
| 7 | +use Dudlewebs\WPMCS\GCP\Psr\Http\Message\RequestInterface; | |
| 8 | +use Dudlewebs\WPMCS\GCP\Psr\Http\Message\ResponseInterface; | |
| 9 | +use Dudlewebs\WPMCS\GCP\Psr\Http\Message\StreamInterface; | |
| 10 | 10 | /** |
| 11 | 11 | * Represents a cURL easy handle and the data it populates. |
| 12 | 12 | * |
| 13 | 13 | * @internal |
| @@ -55,9 +55,9 @@ | ||
| 55 | 55 | * |
| 56 | 56 | * @throws \RuntimeException if no headers have been received or the first |
| 57 | 57 | * header line is invalid. |
| 58 | 58 | */ |
| 59 | - public function createResponse(): void | |
| 59 | + public function createResponse() : void | |
| 60 | 60 | { |
| 61 | 61 | [$ver, $status, $reason, $headers] = HeaderProcessor::parseHeaders($this->headers); |
| 62 | 62 | $normalizedKeys = Utils::normalizeHeaderKeys($headers); |
| 63 | 63 | if (!empty($this->options['decode_content']) && isset($normalizedKeys['content-encoding'])) { |