← All changes
|
includes/sdk/google/guzzlehttp/guzzle/src/Exception/BadResponseException.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\Message\RequestInterface; | |
| 6 | -use Dudlewebs\WPMCS\Psr\Http\Message\ResponseInterface; | |
| 5 | +use Dudlewebs\WPMCS\GCP\Psr\Http\Message\RequestInterface; | |
| 6 | +use Dudlewebs\WPMCS\GCP\Psr\Http\Message\ResponseInterface; | |
| 7 | 7 | /** |
| 8 | 8 | * Exception when an HTTP error occurs (4xx or 5xx error) |
| 9 | 9 | */ |
| 10 | 10 | class BadResponseException extends RequestException |
| @@ -15,9 +15,9 @@ | ||
| 15 | 15 | } |
| 16 | 16 | /** |
| 17 | 17 | * Current exception and the ones that extend it will always have a response. |
| 18 | 18 | */ |
| 19 | - public function hasResponse(): bool | |
| 19 | + public function hasResponse() : bool | |
| 20 | 20 | { |
| 21 | 21 | return \true; |
| 22 | 22 | } |
| 23 | 23 | /** |
| @@ -22,9 +22,9 @@ | ||
| 22 | 22 | } |
| 23 | 23 | /** |
| 24 | 24 | * This function narrows the return type from the parent class and does not allow it to be nullable. |
| 25 | 25 | */ |
| 26 | - public function getResponse(): ResponseInterface | |
| 26 | + public function getResponse() : ResponseInterface | |
| 27 | 27 | { |
| 28 | 28 | /** @var ResponseInterface */ |
| 29 | 29 | return parent::getResponse(); |
| 30 | 30 | } |