← All changes
|
includes/sdk/google/guzzlehttp/guzzle/src/Exception/ConnectException.php
+5
-5
1.2.13
→
1.4.2
View file →
| @@ -1,10 +1,10 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -namespace Dudlewebs\WPMCS\GuzzleHttp\Exception; | |
| 3 | +namespace Dudlewebs\WPMCS\GCP\GuzzleHttp\Exception; | |
| 4 | 4 | |
| 5 | -use Dudlewebs\WPMCS\Psr\Http\Client\NetworkExceptionInterface; | |
| 6 | -use Dudlewebs\WPMCS\Psr\Http\Message\RequestInterface; | |
| 5 | +use Dudlewebs\WPMCS\GCP\Psr\Http\Client\NetworkExceptionInterface; | |
| 6 | +use Dudlewebs\WPMCS\GCP\Psr\Http\Message\RequestInterface; | |
| 7 | 7 | /** |
| 8 | 8 | * Exception thrown when a connection cannot be established. |
| 9 | 9 | * |
| 10 | 10 | * Note that no response is present for a ConnectException |
| @@ -27,9 +27,9 @@ | ||
| 27 | 27 | } |
| 28 | 28 | /** |
| 29 | 29 | * Get the request that caused the exception |
| 30 | 30 | */ |
| 31 | - public function getRequest(): RequestInterface | |
| 31 | + public function getRequest() : RequestInterface | |
| 32 | 32 | { |
| 33 | 33 | return $this->request; |
| 34 | 34 | } |
| 35 | 35 | /** |
| @@ -39,9 +39,9 @@ | ||
| 39 | 39 | * using. It may also be just an empty array. Relying on this data will |
| 40 | 40 | * couple you to a specific handler, but can give more debug information |
| 41 | 41 | * when needed. |
| 42 | 42 | */ |
| 43 | - public function getHandlerContext(): array | |
| 43 | + public function getHandlerContext() : array | |
| 44 | 44 | { |
| 45 | 45 | return $this->handlerContext; |
| 46 | 46 | } |
| 47 | 47 | } |